diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-03-20 19:30:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-25 09:40:42 +0100 |
commit | d772780ee0158efe9c0d26cae35242632b5d574c (patch) | |
tree | 09a511e0cfbf97c358a2cf96fca17e95d002a62c /meta | |
parent | 12392552b29830a2d45237c5601e5ed3a426e1f4 (diff) | |
download | poky-d772780ee0158efe9c0d26cae35242632b5d574c.tar.gz |
ncurses: Abstract out termlib
termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms
(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 0bfd644d18..9d06987d1c 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
@@ -59,6 +59,7 @@ EX_TERMCAP_class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap" | |||
59 | EX_TERMINFO = "" | 59 | EX_TERMINFO = "" |
60 | EX_TERMINFO_class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 60 | EX_TERMINFO_class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
61 | EX_TERMINFO_class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 61 | EX_TERMINFO_class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
62 | EX_TERMLIB ?= "tinfo" | ||
62 | 63 | ||
63 | # Helper function for do_configure to allow multiple configurations | 64 | # Helper function for do_configure to allow multiple configurations |
64 | # $1 the directory to run configure in | 65 | # $1 the directory to run configure in |
@@ -80,7 +81,7 @@ ncurses_configure() { | |||
80 | --disable-big-core \ | 81 | --disable-big-core \ |
81 | --program-prefix= \ | 82 | --program-prefix= \ |
82 | --with-ticlib \ | 83 | --with-ticlib \ |
83 | --with-termlib=tinfo \ | 84 | --with-termlib=${EX_TERMLIB} \ |
84 | --enable-sigwinch \ | 85 | --enable-sigwinch \ |
85 | --enable-pc-files \ | 86 | --enable-pc-files \ |
86 | --disable-rpath-hack \ | 87 | --disable-rpath-hack \ |