[meta-freescale] [meta-freescale-layer master][PATCH] change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl

Bob Cochran yocto at mindchasers.com
Sat Feb 4 19:36:00 PST 2017


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 at mindchasers.com>
---
 recipes-bsp/change-file-endianess/change-file-endianess.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb
index ff1828b..9cf2212 100644
--- a/recipes-bsp/change-file-endianess/change-file-endianess.bb
+++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb
@@ -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
 
-- 
2.7.4



More information about the meta-freescale mailing list