]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
hostapd: use internal crypto library
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 May 2010 21:39:48 +0000 (23:39 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 May 2010 06:57:09 +0000 (08:57 +0200)
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>
package/hostapd/hostapd.mk

index 2359fd3489db59918f8cb9182be66ff8464f9a76..bde3766d77bfd8886323291656858d32b56abcf8 100644 (file)
@@ -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