diff options
| author | Chunrong Guo <B40290@freescale.com> | 2015-04-03 13:54:16 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-04-03 15:29:52 -0300 |
| commit | b17ea951421c8f10af5da0924b25cea0808a0ce3 (patch) | |
| tree | 3027ba5ee5ea9f0bb78a88184a19f204380139c9 | |
| parent | 263bd0c7abd92f466370c498b201cae039ed0f18 (diff) | |
| download | meta-freescale-b17ea951421c8f10af5da0924b25cea0808a0ce3.tar.gz | |
u-boot-ls1: fix multiple u-boot compile path changed.
*fix the following error:
|couldn't open "/poky/build/tmp/work/ls1021aqds-poky-linux-gnueabi/u-boot-ls1/2014.07-r0/git/u-boot.bin": no such file or directory
(From OE-Core rev: eca277b0af9e0e29022f81f54c17bf24aec02232)
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 16 |
1 files changed, 11 insertions, 5 deletions
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 1a1f76dcf..010d2cc2d 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 | |||
| @@ -8,11 +8,17 @@ DEPENDS += "change-file-endianess-native" | |||
| 8 | PROVIDES += "u-boot" | 8 | PROVIDES += "u-boot" |
| 9 | 9 | ||
| 10 | do_compile_append () { | 10 | do_compile_append () { |
| 11 | case "${UBOOT_MACHINE}" in | 11 | if [ "x${UBOOT_CONFIG}" != "x" ] |
| 12 | *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8 | 12 | then |
| 13 | mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;; | 13 | for config in ${UBOOT_MACHINE}; do |
| 14 | *sdcard*) mv ${S}/u-boot-with-spl-pbl.bin ${S}/u-boot.bin;; | 14 | case "${config}" in |
| 15 | esac | 15 | *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/${config}/u-boot.bin ${S}/${config}/u-boot.swap.bin 8 |
| 16 | mv ${S}/${config}/u-boot.swap.bin ${S}/u-boot-${type}.${UBOOT_SUFFIX};; | ||
| 17 | *sdcard*) mv ${S}/${config}/u-boot-with-spl-pbl.bin ${S}/${config}/u-boot.bin;; | ||
| 18 | esac | ||
| 19 | done | ||
| 20 | fi | ||
| 21 | |||
| 16 | } | 22 | } |
| 17 | 23 | ||
| 18 | PACKAGES += "${PN}-images" | 24 | PACKAGES += "${PN}-images" |
