]> code.ossystems Code Review - openembedded-core.git/commitdiff
uninative: fix path to patchelf-uninative
authorRoss Burton <ross.burton@intel.com>
Mon, 25 Jan 2016 15:07:18 +0000 (15:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jan 2016 22:31:09 +0000 (22:31 +0000)
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>
meta/classes/uninative.bbclass

index 8686159e84d70366d0fae8b78f171c03f56041ac..3383e01cda86c6936abf5a9d1aded1f28366cbf0 100644 (file)
@@ -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: