aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-01-22 16:12:14 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2015-01-22 09:53:10 -0200
commit9e1e08977e42d3ce45ecfb66a3e09f448ce5cf4c (patch)
tree03e5d68d376bfc55642db5a605649699a51c5de3
parent691eb798d512aab4b5d805d002a2f7d195b899db (diff)
downloadmeta-fsl-arm-9e1e08977e42d3ce45ecfb66a3e09f448ce5cf4c.tar.gz
meta-fsl-arm-9e1e08977e42d3ce45ecfb66a3e09f448ce5cf4c.tar.bz2
meta-fsl-arm-9e1e08977e42d3ce45ecfb66a3e09f448ce5cf4c.zip
u-boot-ls1: add the path of byte_swap.tcl script
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@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-bsp/u-boot/u-boot-ls1_2014.07.bb2
1 files changed, 1 insertions, 1 deletions
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
}