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 <yocto@mindchasers.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Bob Cochran 2017-02-04 22:36:00 -05:00 committed by Otavio Salvador
parent e3b357ebe0
commit 66179cf8c3

View File

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