From 5277c79ce86b551daf48baba91ab9d4309a996e0 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Thu, 24 Nov 2011 01:10:16 -0600 Subject: [PATCH] Add compilation flags for u-boot when building for p5020ds-64b which still has a 32bit u-boot Signed-off-by: Matthew McClintock --- meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb index 28cad381..c1d0c697 100644 --- a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb +++ b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb @@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -PR = "r5" +PR = "r6" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc" @@ -16,6 +16,8 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ " EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' +EXTRA_OEMAKE_e5500-64b = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -m32" LD="${LD} -melf32ppc"' + PACKAGE_ARCH = "${MACHINE_ARCH}" USRC ?= "" -- 2.40.1