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.bur...@intel.com>
---
 meta/classes/uninative.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 8686159..3383e01 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:
-- 
2.6.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to