]> code.ossystems Code Review - meta-freescale.git/commitdiff
fix u-boot-nand build error of non-dpaa targets
authorZhenhua Luo <b19537@freescale.com>
Tue, 10 Apr 2012 02:54:11 +0000 (10:54 +0800)
committerZhenhua Luo <b19537@freescale.com>
Tue, 10 Apr 2012 02:54:11 +0000 (10:54 +0800)
    u-boot-nand doesn't need to be handled by boot-format

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb

index decb6ec1ec670f51e024ddb9cf5f3712e774391d..5060741bfda088354222b47ce207f5c24c31e498 100644 (file)
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-PR = "r13"
+PR = "r14"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc"
 
@@ -54,7 +54,8 @@ do_compile () {
                                [ "${MACHINE_ARCH}" == "p3041ds" ] || \
                                [ "${MACHINE_ARCH}" == "p3060qds" ] || \
                                [ "${MACHINE_ARCH}" == "p4080ds" ] || \
-                               [ "${MACHINE_ARCH}" == "p5020ds" ]; then
+                               [ "${MACHINE_ARCH}" == "p5020ds" ] || \
+                               [ "${UBOOT_TARGET}" == "u-boot-nand" ]; then
                                cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
                        else
                                ${STAGING_BINDIR_NATIVE}/boot_format \