From: Bob Cochran Date: Sun, 5 Feb 2017 03:36:00 +0000 (-0500) Subject: change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl X-Git-Tag: 2.2~3 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=66179cf8c3d0ae6b29f31ac842359d2174c760c8;p=meta-freescale.git 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. Signed-off-by: Bob Cochran Signed-off-by: Otavio Salvador --- diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb index ff1828bc..9cf2212e 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