update buildroot to 2017.02.11
This commit is contained in:
11
bsp/buildroot-2017.02.11/package/paho-mqtt-c/Config.in
Normal file
11
bsp/buildroot-2017.02.11/package/paho-mqtt-c/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_PAHO_MQTT_C
|
||||
bool "paho-mqtt-c"
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
MQTT client C library
|
||||
|
||||
https://eclipse.org/paho/clients/c/
|
||||
|
||||
comment "paho-mqtt-c needs a toolchain w/ threads and dynamic library support"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 970b9621efc24251441d386274cd0a90cf6ad52b64031f3c8cb53fdd5526f5f3 paho-mqtt-c-v1.1.0.tar.gz
|
||||
20
bsp/buildroot-2017.02.11/package/paho-mqtt-c/paho-mqtt-c.mk
Normal file
20
bsp/buildroot-2017.02.11/package/paho-mqtt-c/paho-mqtt-c.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user