From patchwork Fri May 11 13:36:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 158519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id E0194B7025 for ; Fri, 11 May 2012 23:36:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 15D4CA026F; Fri, 11 May 2012 13:36:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kTqVvpQrFt8t; Fri, 11 May 2012 13:36:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 67D9CA0299; Fri, 11 May 2012 13:36:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 29F638F753 for ; Fri, 11 May 2012 13:36:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21D458D371 for ; Fri, 11 May 2012 13:36:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nwr3da786y-1 for ; Fri, 11 May 2012 13:36:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [74.118.36.95]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3E4AB8CA90 for ; Fri, 11 May 2012 13:36:17 +0000 (UTC) Received: from asgard (host105.190-136-216.telecom.net.ar [190.136.216.105]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.4/8.14.4) with ESMTP id q4BDaC69027242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 May 2012 10:36:14 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1336743376; bh=4r0QmTknXZ8e+GwslMqRI1BCvnu1j/+cqJfd2Cn27qc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=WKPNnjN7jrL6XaAmPz7ma/HSPqq0QzcnllE/JBYrPl7LcOZVYPBIb9xCtoZeJL/UQ B4nBVjc75qxXYrNbDtJu9/9dOyuF4MCzORHhYuijrbgJ7LA/YGslhNV6l9RxT3Fm70 IJt+ORCnWZE7efeljwJzpWikJ3L3Q+UtOBcttOL4= Received: by asgard (sSMTP sendmail emulation); Fri, 11 May 2012 10:36:11 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 11 May 2012 10:36:06 -0300 Message-Id: <1336743366-20014-2-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1336743366-20014-1-git-send-email-gustavo@zacarias.com.ar> References: <1336743366-20014-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 2/2] toolchain/gcc: block unsupported CPUs according to version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Block unsupported processors according to gcc version. Also remove the comments since we now hide them according to this. Signed-off-by: Gustavo Zacarias --- target/Config.in.arch | 7 ------- toolchain/gcc/Config.in | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/target/Config.in.arch b/target/Config.in.arch index 6eaa951..25ff750 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -172,7 +172,6 @@ config BR2_arm1176jz_s bool "arm1176jz-s" config BR2_arm1176jzf_s bool "arm1176jzf-s" -comment "cortex-A8/A9 needs gcc >= 4.4.x" config BR2_cortex_a8 bool "cortex-A8" config BR2_cortex_a9 @@ -361,7 +360,6 @@ config BR2_x86_core2 bool "core2" config BR2_x86_atom bool "atom" -comment "atom needs gcc >= 4.5.x" config BR2_x86_k6 bool "k6" config BR2_x86_k6_2 @@ -409,7 +407,6 @@ config BR2_x86_64_core2 bool "core2" config BR2_x86_64_atom bool "atom" -comment "atom needs gcc >= 4.5.x" endchoice choice @@ -425,7 +422,6 @@ config BR2_sparc_cypress bool "cypress" config BR2_sparc_v8 bool "v8" -comment "LEON SPARC needs gcc = 4.4.x" config BR2_sparc_sparchfleon bool "hfleon" config BR2_sparc_sparchfleonv8 @@ -549,13 +545,10 @@ config BR2_powerpc_8540 bool "8540 / e500v1" config BR2_powerpc_8548 bool "8548 / e500v2" -comment "e300c2 needs gcc >= 4.4.x" config BR2_powerpc_e300c2 bool "e300c2" -comment "e300c3 needs gcc >= 4.4.x" config BR2_powerpc_e300c3 bool "e300c3" -comment "e500mc needs gcc >= 4.4.x" config BR2_powerpc_e500mc bool "e500mc" endchoice diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 0c1243f..eb4d5ea 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -15,11 +15,11 @@ choice bool "gcc 4.2.2-avr32-2.1.5" config BR2_GCC_VERSION_4_3_X - depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 + depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_x86_atom && !BR2_x86_64_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc bool "gcc 4.3.x" config BR2_GCC_VERSION_4_4_X - depends on !BR2_avr32 + depends on !BR2_avr32 && !BR2_x86_atom && !BR2_x86_64_atom bool "gcc 4.4.x" config BR2_GCC_VERSION_4_5_X