summaryrefslogtreecommitdiff
path: root/config/companion_libs
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-05 21:13:14 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-05 22:20:01 (GMT)
commitef841ea31232bc880080353ab61ad1d562004b28 (patch)
tree731a29229be8422347671aaa8e239c5c3f1c0c01 /config/companion_libs
parent10db7887ce0ff5e8323dc35176eaabbb3618e81c (diff)
Allow some tunables for ncurses
- Allow user to specify configure arguments to pass through to host/target ncurses. - Checkbox for --disable-database - String option for --with-fallbacks Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/companion_libs')
-rw-r--r--config/companion_libs/ncurses.in55
1 files changed, 49 insertions, 6 deletions
diff --git a/config/companion_libs/ncurses.in b/config/companion_libs/ncurses.in
index 2e98d8e..68ecbb7 100644
--- a/config/companion_libs/ncurses.in
+++ b/config/companion_libs/ncurses.in
@@ -18,15 +18,58 @@ config NCURSES_VERSION
# CT_INSERT_VERSION_STRING_BELOW
default "6.0" if NCURSES_V_6_0
-if NCURSES
-
config NCURSES_NEW_ABI
- bool
- prompt "ncurses 6.0 ABI support"
+ bool "ncurses 6.0 ABI support"
depends on EXPERIMENTAL
- depends on NCURSES
help
This option allows you to use the new ncurses-6 ABI.
It's wise to leave this disabled and stick with the ncurses-5 ABI!
-endif # NCURSES
+config NCURSES_HOST_CONFIG_ARGS
+ string "Extra configure arguments for host ncurses"
+ help
+ Extra arguments that are passed verbatim to the configure when
+ building host ncurses.
+
+config NCURSES_HOST_DISABLE_DB
+ bool "Disable terminfo DB on the host"
+ default y
+ help
+ The terminfo database is not currently not installed on the host
+ as a part of the toolchain built by crosstool-ng. This means the
+ library will not be able to use the terminals, unless that database
+ comes preinstalled.
+
+ Selecting this option allows one to embed some popular terminal
+ definitions into the library itself.
+
+ If not select, the path to the terminfo database on the host will
+ likely need to be passed as an argument to configure.
+
+config NCURSES_HOST_FALLBACKS
+ string "List of fallback terminals for the host"
+ default "linux,xterm,xterm-color,xterm-256color,vt100"
+ help
+ List of terminal descriptions that will be compiled into the curses
+ library for the host.
+
+config NCURSES_TARGET_CONFIG_ARGS
+ string "Extra configure arguments for target ncurses"
+ help
+ Extra arguments that are passed verbatim to the configure when
+ building target ncurses.
+
+config NCURSES_TARGET_DISABLE_DB
+ bool "Disable terminfo DB on the target"
+ default n
+ help
+ The terminfo database is installed with the terminfo database for the
+ target. If you want to configure ncurses with preselected terminals,
+ select Y here.
+
+config NCURSES_TARGET_FALLBACKS
+ string "List of fallback terminals for the target"
+ help
+ List of terminal descriptions that will be compiled into the curses
+ library for the target.
+