summaryrefslogtreecommitdiff
path: root/package/hostapd/hostapd.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-09-23 22:19:41 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-23 22:19:41 +0200
commit76c4fa0067efe72e970299be2cc116b3033adcb2 (patch)
treef542556cff928cfd3a8c93e4309a80fc98af3c68 /package/hostapd/hostapd.mk
parentabbd7223b23252d718b379c2a7345038b4a159eb (diff)
hostapd: fix build without openssl
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/hostapd/hostapd.mk')
-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 d82603031..4065d7b66 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -14,6 +14,7 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
HOSTAPD_DEPENDENCIES += openssl
# OpenSSL is required for EXTRA_EAP and/or WPS
# We take care of that in Config.in
+else
define HOSTAPD_OPENSSL_CONF
echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG)