diff options
author | Bastian Krause <bst@pengutronix.de> | 2019-02-25 15:19:20 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-26 09:13:26 +0100 |
commit | 978e8cd8588f384bfb77bfb1dd58eb12949f093e (patch) | |
tree | 2d59cf62848f7f72a7f268c85d118976bce543e0 | |
parent | af316c2afb7467d784d603c0a6ace4352473abd3 (diff) | |
download | ptxdist-978e8cd8588f384bfb77bfb1dd58eb12949f093e.tar.gz ptxdist-978e8cd8588f384bfb77bfb1dd58eb12949f093e.tar.xz |
bash: select termcap as alternative for curses
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/bash.in | 1 | ||||
-rw-r--r-- | rules/bash.make | 3 |
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) \ |