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 <yo...@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

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to