Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] wpa-supplicant: Add NL80211 support option
@ 2014-08-07 20:28 Jean-Baptiste Theou
  2014-08-07 20:37 ` Gustavo Zacarias
  0 siblings, 1 reply; 6+ messages in thread
From: Jean-Baptiste Theou @ 2014-08-07 20:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
---
 package/wpa_supplicant/Config.in         | 6 ++++++
 package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index 81c61ac..2fb20ab 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -22,6 +22,12 @@ config BR2_PACKAGE_WPA_SUPPLICANT_EAP
 	help
 	  Enable support for EAP.
 
+config BR2_PACKAGE_WPA_SUPPLICANT_NL80211
+	bool "Enable NL80211"
+	depends on BR2_PACKAGE_LIBNL
+	help
+	  Enable support for NL80211.
+
 config BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT
 	bool "Enable HS20"
 	help
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 0ca2ce5..2807151 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -49,6 +49,12 @@ else
 	WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP
 endif
 
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_NL80211),y)
+	WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_DRIVER_NL80211
+else
+	WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DRIVER_NL80211
+endif
+
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),y)
 	WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_HS20 \
 		CONFIG_INTERWORKING
-- 
2.0.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-08 16:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-07 20:28 [Buildroot] [PATCH 1/1] wpa-supplicant: Add NL80211 support option Jean-Baptiste Theou
2014-08-07 20:37 ` Gustavo Zacarias
2014-08-07 20:52   ` Jean-Baptiste Theou
2014-08-08  8:41     ` Thomas Petazzoni
2014-08-08 16:16       ` Jean-Baptiste Theou
2014-08-08  8:38   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox