From patchwork Tue Jul 3 07:09:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 10/17] u-boot: Don't make the -Os removal part of global settings. Date: Tue, 03 Jul 2012 07:09:39 -0000 From: Saul Wold X-Patchwork-Id: 31071 Message-Id: <5e3f777f9fcc986ae66203651830b5765bca49fd.1341299168.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Paul Gortmaker We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Remove it, since it pertains to an old toolchain issue that is no longer relevant, and it breaks the powerpc mpc8315. Signed-off-by: Paul Gortmaker --- meta/recipes-bsp/u-boot/u-boot.inc | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index a13eddc..5de3583 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc @@ -7,8 +7,7 @@ inherit deploy PARALLEL_MAKE="" -# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" python () { if not d.getVar("UBOOT_MACHINE", True):