|
@@ -4,21 +4,28 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-LIBCOAP_VERSION = 4.2.1
|
|
|
|
|
|
+LIBCOAP_VERSION = 4.3.0
|
|
LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION))
|
|
LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION))
|
|
LIBCOAP_INSTALL_STAGING = YES
|
|
LIBCOAP_INSTALL_STAGING = YES
|
|
LIBCOAP_LICENSE = BSD-2-Clause
|
|
LIBCOAP_LICENSE = BSD-2-Clause
|
|
LIBCOAP_LICENSE_FILES = COPYING LICENSE
|
|
LIBCOAP_LICENSE_FILES = COPYING LICENSE
|
|
LIBCOAP_DEPENDENCIES = host-pkgconf
|
|
LIBCOAP_DEPENDENCIES = host-pkgconf
|
|
-LIBCOAP_CONF_OPTS = --disable-examples --without-tinydtls
|
|
|
|
|
|
+LIBCOAP_CONF_OPTS = \
|
|
|
|
+ --disable-examples --disable-examples-source --without-tinydtls
|
|
LIBCOAP_AUTORECONF = YES
|
|
LIBCOAP_AUTORECONF = YES
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
LIBCOAP_DEPENDENCIES += gnutls
|
|
LIBCOAP_DEPENDENCIES += gnutls
|
|
-LIBCOAP_CONF_OPTS += --enable-dtls --with-gnutls --without-openssl
|
|
|
|
|
|
+LIBCOAP_CONF_OPTS += \
|
|
|
|
+ --enable-dtls --with-gnutls --without-mbedtls --without-openssl
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBCOAP_DEPENDENCIES += openssl
|
|
LIBCOAP_DEPENDENCIES += openssl
|
|
-LIBCOAP_CONF_OPTS += --enable-dtls --without-gnutls --with-openssl
|
|
|
|
|
|
+LIBCOAP_CONF_OPTS += \
|
|
|
|
+ --enable-dtls --without-gnutls --without-mbedtls --with-openssl
|
|
|
|
+else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
|
|
+LIBCOAP_DEPENDENCIES += mbedtls
|
|
|
|
+LIBCOAP_CONF_OPTS += \
|
|
|
|
+ --enable-dtls --without-gnutls --with-mbedtls --without-openssl
|
|
else
|
|
else
|
|
LIBCOAP_CONF_OPTS += --disable-dtls
|
|
LIBCOAP_CONF_OPTS += --disable-dtls
|
|
endif
|
|
endif
|