From patchwork Sun Oct 19 20:08:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 400877 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id BE0AF140080 for ; Mon, 20 Oct 2014 07:10:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6029091836; Sun, 19 Oct 2014 20:09:59 +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 VmBx6qES-g3l; Sun, 19 Oct 2014 20:09:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6BA889156E; Sun, 19 Oct 2014 20:09:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 08A801C1E6B for ; Sun, 19 Oct 2014 20:09:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 03CB1A1286 for ; Sun, 19 Oct 2014 20:09:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C_r9Dw10mFjJ for ; Sun, 19 Oct 2014 20:09:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6D9E9A1193 for ; Sun, 19 Oct 2014 20:09:55 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 8516733B5; Sun, 19 Oct 2014 22:09:58 +0200 (CEST) Received: from localhost (AToulouse-657-1-1059-39.w83-193.abo.wanadoo.fr [83.193.173.39]) by mail.free-electrons.com (Postfix) with ESMTPSA id C95A12E76; Sun, 19 Oct 2014 22:08:35 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 19 Oct 2014 22:08:00 +0200 Message-Id: <1413749285-1108-27-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1413749285-1108-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1413749285-1108-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 26/31] arch/sparc: get rid of BR2_GCC_TARGET_TUNE X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" On SPARC, BR2_GCC_TARGET_TUNE was only used for one specific case, the BR2_sparc_v8. There is actually no reason to not use BR2_GCC_TARGET_CPU instead for this, as all values supported for -mtune are also supported for -mcpu. Therefore, the only BR2_GCC_TARGET_TUNE case is moved as a BR2_GCC_TARGET_CPU case. Signed-off-by: Thomas Petazzoni Reviewed-by: "Yann E. MORIN" --- arch/Config.in.sparc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/Config.in.sparc b/arch/Config.in.sparc index 657c825..19907b9 100644 --- a/arch/Config.in.sparc +++ b/arch/Config.in.sparc @@ -26,10 +26,8 @@ config BR2_ENDIAN config BR2_ARCH_HAS_ATOMICS default y -config BR2_GCC_TARGET_TUNE - default "v8" if BR2_sparc_v8 - config BR2_GCC_TARGET_CPU + default "v8" if BR2_sparc_v8 default "sparchfleon" if BR2_sparc_sparchfleon default "sparchfleonv8" if BR2_sparc_sparchfleonv8 default "sparcsfleon" if BR2_sparc_sparcsfleon