diff options
| -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" |
