mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
18f72f9730
commit
de73cdf478
@@ -45,6 +45,7 @@ endif
|
|||||||
# We take care of that in Config.in
|
# We take care of that in Config.in
|
||||||
ifneq ($(BR2_PACKAGE_OPENSSL),y)
|
ifneq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
|
echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
|
||||||
|
echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG)
|
||||||
echo "CONFIG_TLS=internal" >>$(HOSTAPD_CONFIG)
|
echo "CONFIG_TLS=internal" >>$(HOSTAPD_CONFIG)
|
||||||
endif
|
endif
|
||||||
# WPS
|
# WPS
|
||||||
|
|||||||
Reference in New Issue
Block a user