aboutsummaryrefslogtreecommitdiff
path: root/package/readline/readline.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/readline/readline.mk')
-rw-r--r--package/readline/readline.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/readline/readline.mk b/package/readline/readline.mk
index 326cffab18..06a96b67a8 100644
--- a/package/readline/readline.mk
+++ b/package/readline/readline.mk
@@ -16,6 +16,12 @@ READLINE_LICENSE = GPL-3.0+
READLINE_LICENSE_FILES = COPYING
READLINE_CPE_ID_VENDOR = gnu
+ifeq ($(BR2_PACKAGE_READLINE_BRACKETED_PASTE),y)
+READLINE_CONF_OPTS += --enable-bracketed-paste-default
+else
+READLINE_CONF_OPTS += --disable-bracketed-paste-default
+endif
+
define READLINE_INSTALL_INPUTRC
$(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc
endef