summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk5
1 files changed, 5 insertions, 0 deletions
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)) \
OpenPOWER on IntegriCloud