From patchwork Fri Aug 13 07:11:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Groleo Marius X-Patchwork-Id: 71814 X-Patchwork-Delegate: jason.jin@freescale.com Return-Path: X-Original-To: wd@gemini.denx.de Delivered-To: wd@gemini.denx.de Received: from diddl.denx.de (diddl.denx.de [10.0.0.6]) by gemini.denx.de (Postfix) with ESMTP id 866971536EF for ; Fri, 13 Aug 2010 09:20:35 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 5643030D83AA for ; Fri, 13 Aug 2010 09:20:35 +0200 (CEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.17) for (single-drop); Fri, 13 Aug 2010 09:20:35 +0200 (CEST) Received: from murder ([192.168.8.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Fri, 13 Aug 2010 09:20:10 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend1.mail.m-online.net (Cyrus v2.2.12) with LMTPA; Fri, 13 Aug 2010 09:20:09 +0200 Received: from scanner-1.m-online.net (scanner-1.mail.m-online.net [192.168.8.165]) by mail.m-online.net (Postfix) with ESMTP id 2FDCE1C00410; Fri, 13 Aug 2010 09:20:09 +0200 (CEST) Received: from mxin-1.m-online.net ([192.168.6.164]) by scanner-1.m-online.net (scanner-1.m-online.net [192.168.8.165]) (amavisd-new, port 10026) with ESMTP id 19594-04-15; Fri, 13 Aug 2010 09:20:06 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-1.m-online.net (Postfix) with ESMTP id 3ABE746C0B3; Fri, 13 Aug 2010 09:20:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E061E28082; Fri, 13 Aug 2010 09:19:55 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CE6Hr1IQWP3U; Fri, 13 Aug 2010 09:19:55 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4128828083; Fri, 13 Aug 2010 09:19:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18E1D28080 for ; Fri, 13 Aug 2010 09:19:48 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p1coCpZ+YVPz for ; Fri, 13 Aug 2010 09:19:46 +0200 (CEST) X-Greylist: delayed 482 seconds by postgrey-1.27 at theia; Fri, 13 Aug 2010 09:19:44 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by theia.denx.de (Postfix) with ESMTP id 06DD02807D for ; Fri, 13 Aug 2010 09:19:44 +0200 (CEST) Received: by yxp4 with SMTP id 4so382683yxp.3 for ; Fri, 13 Aug 2010 00:19:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.35.196 with SMTP id q4mr1338546ibd.38.1281683498954; Fri, 13 Aug 2010 00:11:38 -0700 (PDT) Received: by 10.231.182.77 with HTTP; Fri, 13 Aug 2010 00:11:38 -0700 (PDT) Date: Fri, 13 Aug 2010 10:11:38 +0300 Message-ID: From: Groleo Marius To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] Fix M548x gcc 4.1.x detection X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Virus-Scanned: by amavisd-new at m-online.net Fix the M548x falback to -m5407 arch when gcc 4.1.x is detected. Signed-off-by: Marius Groleo --- arch/m68k/cpu/mcf547x_8x/config.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/m68k/cpu/mcf547x_8x/config.mk b/arch/m68k/cpu/mcf547x_8x/config.mk index 83102ab..9cc0783 100644 --- a/arch/m68k/cpu/mcf547x_8x/config.mk +++ b/arch/m68k/cpu/mcf547x_8x/config.mk @@ -24,7 +24,7 @@ # PLATFORM_RELFLAGS += -ffixed-d7 -msep-data -ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1) +ifneq ($(findstring 4.1.,$(shell $(CC) --version)),4.1.) PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC else PLATFORM_CPPFLAGS += -m5407 -fPIC