From 1a22b7d7dbb20bc236e6929e10587d69a4f5c180 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 28 Nov 2011 11:33:41 -0600 Subject: [PATCH] Remove -mcpu= from CC as it's affecting code size Signed-off-by: Matthew McClintock --- meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 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 c1d0c697..9cc761dc 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 = "r6" +PR = "r7" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc" @@ -15,8 +15,8 @@ SRCREV = "348d8fceba39e5622d315ffda7d72ff6bbcf05ec" 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"' +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' +EXTRA_OEMAKE_e5500-64b = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} -m32" LD="${LD} -melf32ppc"' PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.40.1