From: Zhenhua Luo Date: Thu, 22 Jan 2015 08:12:14 +0000 (+0800) Subject: u-boot-ls1: add the path of byte_swap.tcl script X-Git-Tag: 2.1~700 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=948af83a444f09299babdbe33f7f5a4a938d3f0d;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb index 96944c1c..c97d5d8e 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb +++ b/meta-fsl-arm/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 }