wpa_supplicant: detect readline support in wpa_cli

Signed-off-by: Oscar Hellström <oscar.hellstrom@vinnter.se>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015.08.x
Oscar Hellström 2014-05-12 18:16:09 +02:00 committed by Peter Korsgaard
parent f287f0aab6
commit 8505a2613f
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@ define WPA_SUPPLICANT_DEBUG_CONFIG
endef
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
WPA_SUPPLICANT_DEPENDENCIES += readline
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_READLINE
endif
define WPA_SUPPLICANT_CONFIGURE_CMDS
cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG)
sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(WPA_SUPPLICANT_CONFIG_ENABLE)) \