From patchwork Sat Jul 6 20:48:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 257312 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 8A4732C009D for ; Sun, 7 Jul 2013 06:50:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BDE25320B3; Sat, 6 Jul 2013 20:50:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pWt4-22Tp1R9; Sat, 6 Jul 2013 20:50:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A4D7A320BD; Sat, 6 Jul 2013 20:50:00 +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 1BD608F74B for ; Sat, 6 Jul 2013 20:49:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1EF3B80339 for ; Sat, 6 Jul 2013 20:49:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-sMntyqc5Zo for ; Sat, 6 Jul 2013 20:49:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 67073805C1 for ; Sat, 6 Jul 2013 20:49:14 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id y10so2823720wgg.32 for ; Sat, 06 Jul 2013 13:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=VOgKIFHtETvw38rXynAhz8y9/wxE9d9DRseBX1PfVeA=; b=WWH1pLf8UHqDznQkV3pdYGjfVLmDwAsYbkl8IIwlOWnEYHIuXftErV2s2Qgu2H4PiK Lm/4q3gzEhwLkNtn4MUxfS6T1Oltds+IKGfG/lvW7E4C4ojeex6FvAdF7762zQHW6mkm a3aCpVJ0moTY3JSoYy3q7IMxOlInJ+bwKYjfPnxxPzo5N3HjR87V0Wqr8+eXk8q4TRzb KV9BJz1ojPQfDRHENVCOdCjn2tXQbgS6hFe/soOc5zskBZzt5m+/+KrKgffe48pOhALC lhx+lQKOvMqLIasecB3F6yfIugmmYjiUqUWJ0an8TN7BTDm+WaoImhEmweVoT+R0cfq+ kPoQ== X-Received: by 10.180.82.196 with SMTP id k4mr10701138wiy.0.1373143752639; Sat, 06 Jul 2013 13:49:12 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id em10sm37710080wid.1.2013.07.06.13.49.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jul 2013 13:49:11 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sat, 6 Jul 2013 22:48:48 +0200 Message-Id: <3b6cf971d7a39efdd850193671308292d8716594.1373143368.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 09/12] toolchain/helpers: only check for an EABI toolchain 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 From: "Yann E. MORIN" ... since we only support EABI now. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni --- toolchain/helpers.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 0398b63..95217e7 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -280,13 +280,8 @@ check_uclibc = \ check_arm_abi = \ __CROSS_CC=$(strip $1) ; \ EXT_TOOLCHAIN_TARGET=`LANG=C $${__CROSS_CC} -v 2>&1 | grep ^Target | cut -f2 -d ' '` ; \ - if echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \ - EXT_TOOLCHAIN_ABI="eabi" ; \ - else \ - EXT_TOOLCHAIN_ABI="oabi" ; \ - fi ; \ - if [ x$(BR2_ARM_EABI) = x"y" -a $${EXT_TOOLCHAIN_ABI} = "oabi" ] ; then \ - echo "Incorrect ABI setting" ; \ + if ! echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \ + echo "External toolchain uses the unsuported OABI" ; \ exit 1 ; \ fi