From patchwork Sat Jul 14 12:28:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 170998 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id DA98C2C00FC for ; Sat, 14 Jul 2012 22:28:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 94CFD3190C; Sat, 14 Jul 2012 12:28:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AviJHvt0kOU1; Sat, 14 Jul 2012 12:28:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D6B1C30F82; Sat, 14 Jul 2012 12:28:48 +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 26A2A8F753 for ; Sat, 14 Jul 2012 12:28:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1BB7F8C8F2 for ; Sat, 14 Jul 2012 12:28:47 +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 FMo7YKKhYPke for ; Sat, 14 Jul 2012 12:28:46 +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 F3EBB8C837 for ; Sat, 14 Jul 2012 12:28:45 +0000 (UTC) Received: from asgard (host153.200-117-169.telecom.net.ar [200.117.169.153]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id q6ECSdru023386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jul 2012 09:28:43 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1342268924; bh=xj25odpkX6NrYtQ50MWW4sp0A5bh17pML6ImUlx+RzU=; h=From:To:Cc:Subject:Date; b=c6mfkm1ERX2w168q9KSlgs1qG9mRUUo99pDzMb71QjYQlCk22ORnUVAlJe3jXeOSK xgFF2NRfmU06dOfvCveiEG994jtuStYIuqd7ktDdGpIHnog5150w7oalx8kLZ91AG7 sLWqWw8SBBfGUmmbOwFaXyluLbA2Djv9gQCfNdag= Received: by asgard (sSMTP sendmail emulation); Sat, 14 Jul 2012 09:28:39 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Sat, 14 Jul 2012 09:28:37 -0300 Message-Id: <1342268918-3235-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.8.6 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 1/2] toolchain/mips: kill EABI and fix N32 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 MIPS EABI is a bare-metal ABI so remove it. Also fix uClibc to really work with N32 ABI, which used the EABI knob previously. Signed-off-by: Gustavo Zacarias --- target/Config.in.arch | 3 --- toolchain/uClibc/uclibc.mk | 2 +- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/target/Config.in.arch b/target/Config.in.arch index c9bbc12..bad0f4c 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -280,9 +280,6 @@ config BR2_MIPS_OABI32 config BR2_MIPS_ABI32 bool "n32" depends on BR2_mips_3 || BR2_mips_4 || BR2_mips_64 || BR2_mips_64r2 || BR2_mips_16 -config BR2_MIPS_EABI - bool "eabi" - depends on BR2_mips_3 || BR2_mips_4 || BR2_mips_64 || BR2_mips_64r2 || BR2_mips_16 config BR2_MIPS_ABI64 bool "n64" depends on BR2_mips_3 || BR2_mips_4 || BR2_mips_64 || BR2_mips_64r2 || BR2_mips_16 diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index f40fe36..9d0b6db 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -158,7 +158,7 @@ ifeq ($(UCLIBC_TARGET_ARCH),mips) ifeq ($(BR2_MIPS_OABI),y) $(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig endif -ifeq ($(BR2_MIPS_EABI),y) +ifeq ($(BR2_MIPS_ABI32),y) $(SED) 's/.*\(CONFIG_MIPS_N32_ABI\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig endif ifeq ($(BR2_MIPS_ABI64),y)