[meta-freescale] bsp: change-file-endianess fails to build with MACHINE="ls1021atwr"

Bob Cochran yocto at mindchasers.com
Fri Feb 3 06:49:25 PST 2017


Using meta-freescale repo 
(https://github.com/Freescale/meta-freescale.git)  on master branch this 
morning with poky master,  change-file-endianess fails to build:


error:

cp: cannot stat 
'/build/yocto/build_master/tmp/work/x86_64-linux/change-file-endianess/1.0-r0/recipe-sysroot-native/usr/bin/byte_swap.tcl': 
No such file or directory


To keep moving, I patched the recipe to grab byte_swap.tcl from the top 
of the work directory, but I doubt that this is the right fix:


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


Let me know if you need more info.


Bob




More information about the meta-freescale mailing list