summaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/wpa_supplicant.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/wpa_supplicant.mk')
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index a4978e005..97210ceee 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -15,9 +15,12 @@ WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS)
ifeq ($(BR2_PACKAGE_LIBNL),y)
WPA_SUPPLICANT_DEPENDENCIES += libnl
define WPA_SUPPLICANT_LIBNL_CONFIG
- $(SED) "s/^#CONFIG_DRIVER_NL80211/CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG)
echo "CONFIG_LIBNL32=y" >>$(WPA_SUPPLICANT_CONFIG)
endef
+else
+define WPA_SUPPLICANT_LIBNL_CONFIG
+ $(SED) "s/^CONFIG_DRIVER_NL80211/#CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG)
+endef
endif
ifneq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y)