From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 2/2] bash: select termcap as alternative for curses
Date: Mon, 25 Feb 2019 15:19:20 +0100 [thread overview]
Message-ID: <20190225141920.2142-2-bst@pengutronix.de> (raw)
In-Reply-To: <20190225141920.2142-1-bst@pengutronix.de>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
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) \
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2019-02-25 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-25 14:19 [ptxdist] [PATCH 1/2] bash: use ptx/ifdef and ptx/wwo macros Bastian Krause
2019-02-25 14:19 ` Bastian Krause [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190225141920.2142-2-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox