From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SlZcJ-0003ON-Ba for openembedded-core@lists.openembedded.org; Mon, 02 Jul 2012 07:56:11 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q625jAAH027697 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 1 Jul 2012 22:45:10 -0700 (PDT) Received: from yow-pgortmak-d2.corp.ad.wrs.com (128.224.146.165) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Sun, 1 Jul 2012 22:45:10 -0700 From: Paul Gortmaker To: Date: Mon, 2 Jul 2012 01:44:43 -0400 Message-ID: <1341207885-9463-2-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 1.7.9.6 In-Reply-To: <1341207885-9463-1-git-send-email-paul.gortmaker@windriver.com> References: <4FF0C930.4000104@linux.intel.com> <1341207885-9463-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Subject: [PATCHv2 1/3] u-boot: Don't make the -Os removal part of global settings. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 05:56:11 -0000 Content-Type: text/plain 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 file changed, 1 insertion(+), 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): -- 1.7.9.6