[Buildroot] [git commit branch/2020.08.x] package/wolfssl: disable examples and tests

Peter Korsgaard peter at korsgaard.com
Sat Sep 5 08:22:17 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=4f7ff5039728118deb6c89e21db45c2ff26a5dc6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x

Examples and tests are not needed especially because of them fails on
some architectures because it wrongly tries to use wc_Sha256FinalRaw:

  CCLD     tests/unit.test
/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/9.2.1/../../../../aarch64-none-linux-gnu/bin/ld: tests/tests_unit_test-api.o: in function `test_wc_Sha256FinalRaw':
/tmp/instance-0/output-1/build/wolfssl-4.5.0-stable/tests/api.c:6504: undefined reference to `wc_Sha256FinalRaw'

Fixes:
 - http://autobuild.buildroot.org/results/d5b6f97f7510874fe28c675e599be08cb8a78c7b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 5a33de882eb23ddab1035718fe236199dfe23e5a)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/wolfssl/wolfssl.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk
index 5400b35fa5..e2833144fb 100644
--- a/package/wolfssl/wolfssl.mk
+++ b/package/wolfssl/wolfssl.mk
@@ -17,6 +17,8 @@ WOLFSSL_DEPENDENCIES = host-pkgconf
 # script, so we need autoreconf
 WOLFSSL_AUTORECONF = YES
 
+WOLFSSL_CONF_OPTS = --disable-examples --disable-crypttests
+
 ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
 WOLFSSL_CONF_OPTS += --enable-all
 else


More information about the buildroot mailing list