From 8505a2613f32365c5c8b7b5645690707a2bc53f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Hellstr=C3=B6m?= Date: Mon, 12 May 2014 18:16:09 +0200 Subject: [PATCH] wpa_supplicant: detect readline support in wpa_cli MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oscar Hellström Acked-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/wpa_supplicant/wpa_supplicant.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 9fcda2e449..9321f089a6 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -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)) \