summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/bash.in1
-rw-r--r--rules/bash.make3
2 files changed, 3 insertions, 1 deletions
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) \