hostapd: add support for libnl-2.0
authorYegor Yefremov <yegor_sub1@visionsystems.de>
Wed, 27 Apr 2011 08:26:39 +0000 (10:26 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 15 May 2011 08:05:24 +0000 (10:05 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/hostapd/hostapd.mk

index 4c9506670fd4bf024b630d271728f585170589f8..f097e75e6824921ad2bc86c813fcf735422700cc 100644 (file)
@@ -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