diff options
author | Fahad Usman <fahad_usman@mentor.com> | 2012-12-21 17:02:39 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-26 11:34:07 +0000 |
commit | 7d450fb74a7092997bb7e8a451a8b1f7624707a4 (patch) | |
tree | eb2f27c8b9a0c116579fef584460813a79f619b5 /meta | |
parent | 845c2c0bd5db3ddab917d9945c2434b6e8c8c15b (diff) | |
download | poky-7d450fb74a7092997bb7e8a451a8b1f7624707a4.tar.gz |
cml1: set and export TERMINFO, to handle ncurses-native relocation
ncurses library looks at the compiled-in search path for the terminfo
database, and that path no longer exists, when using cached binaries (sstate).
Export TERMINFO pointing at the current sysroot, so the attempt to run mconf
is able to find the correct terminfo db.
(From OE-Core rev: b036adfb868c042245cd8fba8ecc2ba53169bfea)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
0cae284f294e3a2c99d9a4d79c95c25103cd8f8b
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cml1.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass index ba44196a57..bb9563948c 100644 --- a/meta/classes/cml1.bbclass +++ b/meta/classes/cml1.bbclass | |||
@@ -9,10 +9,11 @@ addtask configure after do_unpack do_patch before do_compile | |||
9 | 9 | ||
10 | inherit terminal | 10 | inherit terminal |
11 | 11 | ||
12 | OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES" | 12 | OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES TERMINFO" |
13 | HOST_EXTRACFLAGS = "${BUILD_CFLAGS} ${BUILD_LDFLAGS}" | 13 | HOST_EXTRACFLAGS = "${BUILD_CFLAGS} ${BUILD_LDFLAGS}" |
14 | HOSTLDFLAGS = "${BUILD_LDFLAGS}" | 14 | HOSTLDFLAGS = "${BUILD_LDFLAGS}" |
15 | HOST_LOADLIBES = "-lncurses" | 15 | HOST_LOADLIBES = "-lncurses" |
16 | TERMINFO = "${STAGING_DATADIR_NATIVE}/terminfo" | ||
16 | 17 | ||
17 | python do_menuconfig() { | 18 | python do_menuconfig() { |
18 | try: | 19 | try: |