summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/newt
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-02-12 16:26:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-15 21:58:28 +0000
commitce79eca89fa6c056f63ee3387afb8033eefe66f2 (patch)
tree9a9dcfef2a985396047a8cc16f9803b176cf1a5d /meta/recipes-extended/newt
parentdc9c8bcda8f6a72d1d46b86be5df32410008e19d (diff)
downloadpoky-ce79eca89fa6c056f63ee3387afb8033eefe66f2.tar.gz
libnewt-python: remove make var LIBNEWTSH
Var LIBNEWTSH which points to libnewt.so in STAGING_LIBDIR is passed to make. But during do_compile, LIBNEWTSH is rebuilt. Check the log that gcc populates file into STAGING_LIBDIR directly: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/poky/builds/build/tmp/sysroots/qemux86 -shared -o /poky/builds/build/tmp/sysroots/qemux86/usr/lib/libnewt.so.0.52.18 ... It is not a proper operation export file into STAGING_LIBDIR during compile. So remove the var LIBNEWTSH. (From OE-Core rev: 9963b22acacbe49bffd7ebdeb72c45280e687385) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt')
-rw-r--r--meta/recipes-extended/newt/libnewt-python_0.52.18.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.18.bb b/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
index d591fbd3d2..ecc670e0aa 100644
--- a/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
+++ b/meta/recipes-extended/newt/libnewt-python_0.52.18.bb
@@ -12,7 +12,7 @@ EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
12 12
13do_compile () { 13do_compile () {
14 VERSION="$(sed -n 's/^VERSION = //p' Makefile)" 14 VERSION="$(sed -n 's/^VERSION = //p' Makefile)"
15 oe_runmake "LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION" _snack.so 15 oe_runmake _snack.so
16} 16}
17 17
18do_install () { 18do_install () {