]> code.ossystems Code Review - meta-freescale.git/commitdiff
change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl
authorBob Cochran <yocto@mindchasers.com>
Sun, 5 Feb 2017 03:36:00 +0000 (22:36 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 8 Feb 2017 23:35:41 +0000 (21:35 -0200)
Modify do_deply_class-native task to copy byte_swap.tcl from top of working directory ${S} rather than ${STAGING_BINDIR_NATIVE} since file isn’t found at current location and this causes a “No such file or directory” error.

Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/change-file-endianess/change-file-endianess.bb

index ff1828bc289c2ae572ea5e197e0db200f63c19d7..9cf2212eb5d1dcd3a2722fd1fe971d078eabe16b 100644 (file)
@@ -25,7 +25,7 @@ do_deploy () {
 
 do_deploy_class-native () {
     install -d ${DEPLOYDIR}
-    cp -f ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${DEPLOYDIR}/
+    cp -f ${S}/byte_swap.tcl ${DEPLOYDIR}/
 }
 addtask deploy before do_build after do_populate_sysroot