[meta-freescale] [meta-fsl-arm][PATCH] u-boot-ls1: add the path of byte_swap.tcl script
Zhenhua Luo
zhenhua.luo at freescale.com
Thu Jan 22 00:12:14 PST 2015
Fix the following build error of QSPI u-boot.
| couldn't read file "byte_swap.tcl": no such file or directory
| WARNING: /home/yocto/poky/ls1021aqds/tmp/work/ls1021aqds-poky-linux-gnueabi/u-boot-ls1/2014.07-r0/temp/run.do_compile.18788:1 exit 1 from
| tclsh byte_swap.tcl /home/yocto/poky/ls1021aqds/tmp/work/ls1021aqds-poky-linux-gnueabi/u-boot-ls1/2014.07-r0/git/u-boot.bin /home/yocto/poky/ls1021aqds/tmp/work/ls1021aqds-poky-linux-gnueabi/u-boot-ls1/2014.07-r0/git/u-boot.swap.bin 8
Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
index 96944c1..c97d5d8 100644
--- a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
+++ b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb
@@ -9,7 +9,7 @@ PROVIDES += "u-boot"
do_compile_append () {
case "${UBOOT_MACHINE}" in
- *spi*) tclsh byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8
+ *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8
mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;;
esac
}
--
2.1.0
More information about the meta-freescale
mailing list