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 1SkgD6-0007Hm-Em for openembedded-core@lists.openembedded.org; Fri, 29 Jun 2012 20:46:28 +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 q5TIZU05002895 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 29 Jun 2012 11:35:31 -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; Fri, 29 Jun 2012 11:35:30 -0700 From: Paul Gortmaker To: Date: Fri, 29 Jun 2012 14:35:13 -0400 Message-ID: <1340994915-14947-2-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 1.7.9.6 In-Reply-To: <1340994915-14947-1-git-send-email-paul.gortmaker@windriver.com> References: <1340994915-14947-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Subject: [PATCH 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: Fri, 29 Jun 2012 18:46:28 -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, 3 deletions(-) diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index a13eddc..0ed5fd9 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc @@ -7,9 +7,6 @@ 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'" - python () { if not d.getVar("UBOOT_MACHINE", True): PN = d.getVar("PN", True) -- 1.7.9.6