From patchwork Mon Oct 28 14:21:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markos Chandras X-Patchwork-Id: 286519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1A4D82C00CD for ; Tue, 29 Oct 2013 01:21:24 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 92A028B16F; Mon, 28 Oct 2013 14:21:22 +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 Rv9apWQNg7cZ; Mon, 28 Oct 2013 14:21:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 789318B099; Mon, 28 Oct 2013 14:21:20 +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 23E351BF9B8 for ; Mon, 28 Oct 2013 14:21:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C51E8BE45 for ; Mon, 28 Oct 2013 14:21:20 +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 dL0k-oJuP8B8 for ; Mon, 28 Oct 2013 14:21:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from multi.imgtec.com (multi.imgtec.com [194.200.65.239]) by whitealder.osuosl.org (Postfix) with ESMTPS id 37AF58BE0A for ; Mon, 28 Oct 2013 14:21:19 +0000 (UTC) From: Markos Chandras To: Date: Mon, 28 Oct 2013 14:21:09 +0000 Message-ID: <1382970069-16449-1-git-send-email-markos.chandras@imgtec.com> X-Mailer: git-send-email 1.8.4 MIME-Version: 1.0 X-Originating-IP: [192.168.154.31] X-SEF-Processed: 7_3_0_01192__2013_10_28_14_21_17 Subject: [Buildroot] [PATCH] arch/mips: Set BR2_GCC_TARGET_ARCH for MIPS 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Set --with-arch instead of --with-tune for MIPS so that the generated code will be optimal for the given MIPS ISA. Signed-off-by: Markos Chandras --- arch/Config.in.mips | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Config.in.mips b/arch/Config.in.mips index 6242bcc..86fbe64 100644 --- a/arch/Config.in.mips +++ b/arch/Config.in.mips @@ -72,7 +72,7 @@ config BR2_ENDIAN default "LITTLE" if BR2_mipsel || BR2_mips64el default "BIG" if BR2_mips || BR2_mips64 -config BR2_GCC_TARGET_TUNE +config BR2_GCC_TARGET_ARCH default "mips1" if BR2_mips_1 default "mips2" if BR2_mips_2 default "mips3" if BR2_mips_3