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>
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
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 \