diff options
author | Matthew McClintock <msm@freescale.com> | 2011-11-24 01:10:16 -0600 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2011-11-24 01:10:16 -0600 |
commit | 5277c79ce86b551daf48baba91ab9d4309a996e0 (patch) | |
tree | a7c25aad1f29e6df6b4a8ce53152ba8d5a269022 | |
parent | 85b559aa923e3292d233e4c7d68226dda00c83a9 (diff) | |
download | meta-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.bb | 4 |
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" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" |
7 | 7 | ||
8 | PR = "r5" | 8 | PR = "r6" |
9 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
10 | DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc" | 10 | DEPENDS = "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 | ||
18 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' | 18 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' |
19 | EXTRA_OEMAKE_e5500-64b = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -m32" LD="${LD} -melf32ppc"' | ||
20 | |||
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
20 | 22 | ||
21 | USRC ?= "" | 23 | USRC ?= "" |