From 978e8cd8588f384bfb77bfb1dd58eb12949f093e Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Mon, 25 Feb 2019 15:19:20 +0100 Subject: bash: select termcap as alternative for curses Signed-off-by: Bastian Krause Signed-off-by: Michael Olbrich --- rules/bash.in | 1 + rules/bash.make | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rules/bash.in b/rules/bash.in index 4c1e0e12c..183c7517a 100644 --- a/rules/bash.in +++ b/rules/bash.in @@ -4,6 +4,7 @@ menuconfig BASH select LIBC_DL select GCCLIBS_GCC_S select NCURSES if BASH_CURSES + select TERMCAP if !BASH_CURSES help The GNU Bourne Again SHell Bash is an sh-compatible command language interpreter that executes diff --git a/rules/bash.make b/rules/bash.make index 4abce8323..e38f1f087 100644 --- a/rules/bash.make +++ b/rules/bash.make @@ -32,7 +32,8 @@ BASH_LICENSE := GPL-3.0-only BASH_PATH := PATH=$(CROSS_PATH) BASH_ENV := \ $(CROSS_ENV) \ - bash_cv_job_control_missing=$(call ptx/ifdef, PTXCONF_BASH_JOBS, present, missing) + bash_cv_job_control_missing=$(call ptx/ifdef, PTXCONF_BASH_JOBS, present, missing) \ + bash_cv_termcap_lib=$(call ptx/ifdef, PTXCONF_BASH_CURSES, libncurses, libtermcap) BASH_AUTOCONF := \ $(CROSS_AUTOCONF_USR) \ -- cgit v1.2.3