summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-10 23:39:48 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-11 08:57:09 +0200
commitde73cdf478dd5ad8a7ea5623673144701dd9767c (patch)
treeb2a48f53c84e1d5be42693c3cc73309ab299d2be
parent18f72f97309b83f1d3c43115b83a79743602ebd2 (diff)
downloadbuildroot-novena-de73cdf478dd5ad8a7ea5623673144701dd9767c.tar.gz
buildroot-novena-de73cdf478dd5ad8a7ea5623673144701dd9767c.zip
hostapd: use internal crypto library
When OpenSSL is not enabled, hostapd relies on an internal library. However, this library must be enabled, otherwise the compilation of hostapd fails with: /home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/hostapd/hostapd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 2359fd348..bde3766d7 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -45,6 +45,7 @@ endif
# We take care of that in Config.in
ifneq ($(BR2_PACKAGE_OPENSSL),y)
echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
+ echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG)
echo "CONFIG_TLS=internal" >>$(HOSTAPD_CONFIG)
endif
# WPS