aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-08-25 14:23:42 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2017-09-17 00:00:12 +0200
commit41706d05b9591c31939cdf8512761faf43a5e07a (patch)
tree4f49a223168ef99f473fee7bb691d91a0305e9a2 /package
parent8334a23679204963f052f5704dd7541f7cf407b8 (diff)
downloadupstream-41706d05b9591c31939cdf8512761faf43a5e07a.tar.gz
upstream-41706d05b9591c31939cdf8512761faf43a5e07a.tar.bz2
upstream-41706d05b9591c31939cdf8512761faf43a5e07a.zip
libs/wolfssl: adjust symbol defaults against libwolfssl defaults
Some symbols have been renamed. Some are default enabled/disabled, so we need to adjust semantics against that. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/libs/wolfssl/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index e8498162ef..85a9785e77 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -61,14 +61,14 @@ CONFIGURE_ARGS += \
--enable-aesccm
endif
-ifeq ($(CONFIG_WOLFSSL_HAS_AES_GCM),y)
+ifneq ($(CONFIG_WOLFSSL_HAS_AES_GCM),y)
CONFIGURE_ARGS += \
- --enable-aesgcm
+ --disable-aesgcm
endif
-ifeq ($(CONFIG_WOLFSSL_HAS_CHACHA),y)
+ifneq ($(CONFIG_WOLFSSL_HAS_CHACHA),y)
CONFIGURE_ARGS += \
- --enable-chacha
+ --disable-chacha
endif
ifeq ($(CONFIG_WOLFSSL_HAS_ECC),y)
@@ -77,7 +77,7 @@ CONFIGURE_ARGS += \
--enable-supportedcurves
endif
-ifeq ($(CONFIG_WOLFSSL_HAS_DH),y)
+ifneq ($(CONFIG_WOLFSSL_HAS_DH),y)
CONFIGURE_ARGS += \
--enable-dh
endif
@@ -104,10 +104,10 @@ endif
ifeq ($(CONFIG_WOLFSSL_HAS_ECC25519),y)
CONFIGURE_ARGS += \
- --enable-ecc25519
+ --enable-curve25519
endif
-ifeq ($(CONFIG_WOLFSSL_HAS_POLY1305),y)
+ifneq ($(CONFIG_WOLFSSL_HAS_POLY1305),y)
CONFIGURE_ARGS += \
--enable-poly1305
endif