77c3feabde
Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com> Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Pranit Tanaji Sirsat <Pranit.Sirsat@imgtec.com> [Thomas: use += instead of = for assignments inside conditions.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
604 B
Makefile
21 lines
604 B
Makefile
################################################################################
|
|
#
|
|
# paho-mqtt-c
|
|
#
|
|
################################################################################
|
|
|
|
PAHO_MQTT_C_VERSION = v1.1.0
|
|
PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,$(PAHO_MQTT_C_VERSION))
|
|
PAHO_MQTT_C_LICENSE = EPL-1.0 or BSD-3c
|
|
PAHO_MQTT_C_LICENSE_FILES = epl-v10 edl-v10
|
|
PAHO_MQTT_C_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
PAHO_MQTT_C_DEPENDENCIES += openssl
|
|
PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE
|
|
else
|
|
PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=FALSE
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|