]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
wpa_supplicant: add option to enable Wi-Fi Display
authorGeorges Savoundararadj <savoundg@gmail.com>
Sun, 3 Jul 2016 23:28:52 +0000 (16:28 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Jul 2016 09:11:05 +0000 (11:11 +0200)
BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY depends on
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT because CONFIG_WIFI_DISPLAY needs
CONFIG_P2P.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wpa_supplicant/Config.in
package/wpa_supplicant/wpa_supplicant.mk

index 1920774a6ec51475fb88e9ef264c25cc98e0c90b..85520b6a68d0e8d07b4a0344964f4c196217e9f4 100644 (file)
@@ -38,6 +38,12 @@ config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
          making it bigger but dispensing the need for a separate hostapd
          binary in some applications hence being smaller overall.
 
+config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
+       bool "Enable Wi-Fi Display"
+       depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
+       help
+         Enable support for Wi-Fi Display
+
 config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
        bool "Enable autoscan"
        help
index d1d59f74edea8c2acdf87bd594862cc5ed424616..d46328e0e9fdc50bcdf65ec7522a88f06d481bec 100644 (file)
@@ -68,6 +68,10 @@ WPA_SUPPLICANT_CONFIG_ENABLE += \
        CONFIG_P2P
 endif
 
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y)
+WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY
+endif
+
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
 WPA_SUPPLICANT_CONFIG_ENABLE += \
        CONFIG_AUTOSCAN_EXPONENTIAL \