package/mongoose: fix activation of openssl/mbedtls
MG_ENABLE_SSL and MG_SSL_IF have been dropped since version 7.0 and
f2fba1d200
So use the new MG_ENABLE_OPENSSL and MG_ENABLE_MBEDTLS variables
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
be7be1a086
commit
e2707dd43e
@ -16,14 +16,10 @@ MONGOOSE_CFLAGS = $(TARGET_CFLAGS)
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
MONGOOSE_DEPENDENCIES += openssl
|
MONGOOSE_DEPENDENCIES += openssl
|
||||||
MONGOOSE_CFLAGS += \
|
MONGOOSE_CFLAGS += -DMG_ENABLE_OPENSSL=1
|
||||||
-DMG_ENABLE_SSL \
|
|
||||||
-DMG_SSL_IF=MG_SSL_IF_OPENSSL
|
|
||||||
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
||||||
MONGOOSE_DEPENDENCIES += mbedtls
|
MONGOOSE_DEPENDENCIES += mbedtls
|
||||||
MONGOOSE_CFLAGS += \
|
MONGOOSE_CFLAGS += -DMG_ENABLE_MBEDTLS=1
|
||||||
-DMG_ENABLE_SSL \
|
|
||||||
-DMG_SSL_IF=MG_SSL_IF_MBEDTLS
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define MONGOOSE_BUILD_CMDS
|
define MONGOOSE_BUILD_CMDS
|
||||||
|
Loading…
Reference in New Issue
Block a user