]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-ls1: add the path of byte_swap.tcl script
authorZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 22 Jan 2015 08:12:14 +0000 (16:12 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 22 Jan 2015 11:48:28 +0000 (09:48 -0200)
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>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb

index 96944c1c069b998d64bd46497a891ea568844e38..c97d5d8e9b530e8bd82a3a87bf1f769857f9bedd 100644 (file)
@@ -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
 }