summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/u-boot/u-boot_git.bb29
1 files changed, 16 insertions, 13 deletions
diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
index bc19bb4..e322ab7 100644
--- a/recipes-kernel/u-boot/u-boot_git.bb
+++ b/recipes-kernel/u-boot/u-boot_git.bb
@@ -5,16 +5,15 @@ PROVIDES = "virtual/bootloader"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" 6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
7 7
8PR = "r29" 8PR = "r30"
9INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc" 10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
11 11
12inherit deploy 12inherit deploy
13 13
14SRCREV = "c6d9d502924ade8877f53eecdd5cf37e05d6d6b4" 14SRCREV = "7bcd7f45c8974978f8eb73ae4d32e71cb6a49b77"
15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git" 15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \
16SRCREV_e6500 = "9040d1ee41fc29fc7e9796bdfb59612f80bc1ee4" 16 "
17SRCREV_e6500-64b = "9040d1ee41fc29fc7e9796bdfb59612f80bc1ee4"
18python () { 17python () {
19 ml = d.getVar("MULTILIB_VARIANTS", True) 18 ml = d.getVar("MULTILIB_VARIANTS", True)
20 arch = d.getVar("OVERRIDES", True) 19 arch = d.getVar("OVERRIDES", True)
@@ -68,17 +67,21 @@ do_compile () {
68 if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then 67 if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then
69 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin 68 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin
70 elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then 69 elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
71 if [ "${DEFAULTTUNE}" != "ppce500v2" ];then 70 if [ "${DEFAULTTUNE}" = "ppce500v2" ];then
71 if echo $board |egrep "(P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB)" 2>&1 >/dev/null;then
72 cp ${S}/${board}/u-boot-with-spl.bin ${S}/${board}/${UBOOT_TARGET}.bin
73 fi
74 else
72 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin 75 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin
73 fi 76 fi
74 else 77 else
75 if [ -n "${BOOTFORMAT_CONFIG}" ];then 78 if [ -n "${BOOTFORMAT_CONFIG}" ];then
76 ${STAGING_BINDIR_NATIVE}/boot_format \ 79 ${STAGING_BINDIR_NATIVE}/boot_format \
77 ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ 80 ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
78 ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin 81 ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
79 else 82 else
80 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin 83 cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin
81 fi 84 fi
82 fi 85 fi
83 fi 86 fi
84 done 87 done
@@ -133,4 +136,4 @@ addtask deploy after do_install
133PACKAGES += "${PN}-images" 136PACKAGES += "${PN}-images"
134FILES_${PN}-images += "/boot" 137FILES_${PN}-images += "/boot"
135 138
136ALLOW_EMPTY = "1" 139ALLOW_EMPTY_${PN} = "1"