summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegor_sub1@visionsystems.de>2011-04-27 10:26:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-15 10:05:24 +0200
commit3a7495c2fbd1ddc923dcc7074f690ffc1d81c82e (patch)
tree19a6ff5434e0a0edd169723e695cdc35c835bfb9
parent83672c4869251935ffb103fe7e46108b4ae20e93 (diff)
downloadbuildroot-novena-3a7495c2fbd1ddc923dcc7074f690ffc1d81c82e.tar.gz
buildroot-novena-3a7495c2fbd1ddc923dcc7074f690ffc1d81c82e.zip
hostapd: add support for libnl-2.0
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/hostapd/hostapd.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 4c9506670..f097e75e6 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -10,6 +10,10 @@ HOSTAPD_SUBDIR = hostapd
HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config
HOSTAPD_DEPENDENCIES = libnl
+define HOSTAPD_LIBNL_CONFIG
+ echo "CONFIG_LIBNL20=y" >>$(HOSTAPD_CONFIG)
+endef
+
define HOSTAPD_CRYPTO_CONFIG
echo "CONFIG_CRYPTO=internal" >>$(HOSTAPD_CONFIG)
echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(HOSTAPD_CONFIG)
@@ -82,6 +86,7 @@ define HOSTAPD_CONFIGURE_CMDS
$(HOSTAPD_RADIUS_IPV6_CONFIG)
$(HOSTAPD_EAP_CONFIG)
$(HOSTAPD_WPS_CONFIG)
+ $(HOSTAPD_LIBNL_CONFIG)
endef
define HOSTAPD_INSTALL_TARGET_CMDS