From 9e1e08977e42d3ce45ecfb66a3e09f448ce5cf4c Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Thu, 22 Jan 2015 16:12:14 +0800 Subject: 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 --- recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-bsp') 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 } -- cgit v1.2.3-54-g00ecf