summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFahad Usman <fahad_usman@mentor.com>2012-12-21 17:02:39 +0500
committerSaul Wold <sgw@linux.intel.com>2012-12-25 14:00:21 -0800
commitb036adfb868c042245cd8fba8ecc2ba53169bfea (patch)
tree0062fc37f380d24f2e1e8406de1b205533497846
parent584fc5abe4ea08a92eff691af42300b5a26d2755 (diff)
downloadopenembedded-core-b036adfb868c042245cd8fba8ecc2ba53169bfea.tar.gz
openembedded-core-b036adfb868c042245cd8fba8ecc2ba53169bfea.tar.bz2
openembedded-core-b036adfb868c042245cd8fba8ecc2ba53169bfea.zip
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. 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>
-rw-r--r--meta/classes/cml1.bbclass3
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
inherit terminal
-OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES"
+OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES TERMINFO"
HOST_EXTRACFLAGS = "${BUILD_CFLAGS} ${BUILD_LDFLAGS}"
HOSTLDFLAGS = "${BUILD_LDFLAGS}"
HOST_LOADLIBES = "-lncurses"
+TERMINFO = "${STAGING_DATADIR_NATIVE}/terminfo"
python do_menuconfig() {
try: