summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-11-24 01:10:16 -0600
committerMatthew McClintock <msm@freescale.com>2011-11-24 01:10:16 -0600
commit5277c79ce86b551daf48baba91ab9d4309a996e0 (patch)
treea7c25aad1f29e6df6b4a8ce53152ba8d5a269022
parent85b559aa923e3292d233e4c7d68226dda00c83a9 (diff)
downloadmeta-freescale-5277c79ce86b551daf48baba91ab9d4309a996e0.tar.gz
Add compilation flags for u-boot when building for p5020ds-64b which still has a 32bit u-boot
Signed-off-by: Matthew McClintock <msm@freescale.com>
-rw-r--r--meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb4
1 files changed, 3 insertions, 1 deletions
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"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" 6LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
7 7
8PR = "r5" 8PR = "r6"
9INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc" 10DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc"
11 11
@@ -16,6 +16,8 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \
16 " 16 "
17 17
18EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' 18EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"'
19EXTRA_OEMAKE_e5500-64b = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -m32" LD="${LD} -melf32ppc"'
20
19PACKAGE_ARCH = "${MACHINE_ARCH}" 21PACKAGE_ARCH = "${MACHINE_ARCH}"
20 22
21USRC ?= "" 23USRC ?= ""