Skip to contentSkip to conversation

change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl

PATCH New Bob Cochran 1 participant 1 message Feb 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl

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.

---
 recipes-bsp/change-file-endianess/change-file-endianess.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/change-file-endianess/change-file-endianess.bb +1 -1
index ff1828b..9cf2212 100644
@@ -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
 
Signature · 1 line
2.7.4