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>
master
Alexandru Ardelean 7 years ago committed by Hauke Mehrtens
parent 8334a23679
commit 41706d05b9
  1. 14
      package/libs/wolfssl/Makefile

@ -61,14 +61,14 @@ CONFIGURE_ARGS += \
--enable-aesccm --enable-aesccm
endif endif
ifeq ($(CONFIG_WOLFSSL_HAS_AES_GCM),y) ifneq ($(CONFIG_WOLFSSL_HAS_AES_GCM),y)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-aesgcm --disable-aesgcm
endif endif
ifeq ($(CONFIG_WOLFSSL_HAS_CHACHA),y) ifneq ($(CONFIG_WOLFSSL_HAS_CHACHA),y)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-chacha --disable-chacha
endif endif
ifeq ($(CONFIG_WOLFSSL_HAS_ECC),y) ifeq ($(CONFIG_WOLFSSL_HAS_ECC),y)
@ -77,7 +77,7 @@ CONFIGURE_ARGS += \
--enable-supportedcurves --enable-supportedcurves
endif endif
ifeq ($(CONFIG_WOLFSSL_HAS_DH),y) ifneq ($(CONFIG_WOLFSSL_HAS_DH),y)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-dh --enable-dh
endif endif
@ -104,10 +104,10 @@ endif
ifeq ($(CONFIG_WOLFSSL_HAS_ECC25519),y) ifeq ($(CONFIG_WOLFSSL_HAS_ECC25519),y)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-ecc25519 --enable-curve25519
endif endif
ifeq ($(CONFIG_WOLFSSL_HAS_POLY1305),y) ifneq ($(CONFIG_WOLFSSL_HAS_POLY1305),y)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-poly1305 --enable-poly1305
endif endif

Loading…
Cancel
Save