summaryrefslogtreecommitdiff
path: root/meta/classes/uninative.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-01-25 15:07:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 22:31:09 +0000
commitd986f90937b7b4c60128003ef5d30d01ac1653e3 (patch)
tree7d1c59c1429ac42ee0340665b95f88377a9579c7 /meta/classes/uninative.bbclass
parent258668c3cb8f5c00e084e821dae05ba750768bfb (diff)
downloadopenembedded-core-d986f90937b7b4c60128003ef5d30d01ac1653e3.tar.gz
openembedded-core-d986f90937b7b4c60128003ef5d30d01ac1653e3.tar.bz2
openembedded-core-d986f90937b7b4c60128003ef5d30d01ac1653e3.zip
uninative: fix path to patchelf-uninative
When uninative was changed to use it's own sysroot the path to patchelf lost ${bindir_native}, so add it back. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r--meta/classes/uninative.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 8686159e84..3383e01cda 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -42,7 +42,7 @@ python uninative_eventhandler() {
except Exception as exc:
bb.fatal("Unable to download uninative tarball: %s" % str(exc))
- cmd = e.data.expand("mkdir -p ${STAGING_DIR}-uninative; cd ${STAGING_DIR}-uninative; tar -xjf ${UNINATIVE_DLDIR}/${UNINATIVE_TARBALL}; ${STAGING_DIR}-uninative/relocate_sdk.py ${STAGING_DIR}-uninative/${BUILD_ARCH}-linux ${UNINATIVE_LOADER} ${UNINATIVE_LOADER} ${STAGING_DIR}-uninative/${BUILD_ARCH}-linux/patchelf-uninative")
+ cmd = e.data.expand("mkdir -p ${STAGING_DIR}-uninative; cd ${STAGING_DIR}-uninative; tar -xjf ${UNINATIVE_DLDIR}/${UNINATIVE_TARBALL}; ${STAGING_DIR}-uninative/relocate_sdk.py ${STAGING_DIR}-uninative/${BUILD_ARCH}-linux ${UNINATIVE_LOADER} ${UNINATIVE_LOADER} ${STAGING_DIR}-uninative/${BUILD_ARCH}-linux/${bindir_native}/patchelf-uninative")
try:
subprocess.check_call(cmd, shell=True)
except subprocess.CalledProcessError as exc: