From patchwork Fri Feb 7 08:30:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bugzilla@busybox.net X-Patchwork-Id: 317646 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 89B372C00A0 for ; Fri, 7 Feb 2014 19:30:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CA0F28BF96; Fri, 7 Feb 2014 08:30:50 +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 icVAf2hOtBxe; Fri, 7 Feb 2014 08:30:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5DEFC8BFBD; Fri, 7 Feb 2014 08:30:50 +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 CBD091CE93C for ; Fri, 7 Feb 2014 08:30:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C7C888BFBD for ; Fri, 7 Feb 2014 08:30:48 +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 1kfCq5ZhHia7 for ; Fri, 7 Feb 2014 08:30:48 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id 708FA8BF96 for ; Fri, 7 Feb 2014 08:30:48 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 81) id 4FF599C8AF; Fri, 7 Feb 2014 08:30:47 +0000 (UTC) From: bugzilla@busybox.net To: buildroot@uclibc.org X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: buildroot X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: patrickdepinguin+buildroot@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned@buildroot.uclibc.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://bugs.busybox.net/ Auto-Submitted: auto-generated MIME-Version: 1.0 Message-Id: <20140207083048.4FF599C8AF@busybox.osuosl.org> Date: Fri, 7 Feb 2014 08:30:47 +0000 (UTC) Subject: [Buildroot] [Bug 6842] Checking external toolchain for eabihf 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 https://bugs.busybox.net/show_bug.cgi?id=6842 --- Comment #1 from Thomas De Schampheleire 2014-02-07 08:30:47 UTC --- Thomas Petazzoni, could you shine your light on this patch? Copy/pasted here for convenience: else \ EXT_TOOLCHAIN_ABI="eabi" ; \ diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index faa9d90..c41d757 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -284,8 +284,8 @@ check_arm_abi = \ echo "External toolchain uses the unsuported OABI" ; \ exit 1 ; \ fi ; \ - EXT_TOOLCHAIN_CRT1=`LANG=C $${__CROSS_CC} -print-file-name=crt1.o` ; \ - if $${__CROSS_READELF} -A $${EXT_TOOLCHAIN_CRT1} | grep -q "Tag_ABI_VFP_args:" ; then \ + EXT_TOOLCHAIN_LIBM=`LANG=C $${__CROSS_CC} -print-file-name=libm.so` ; \ + if $${__CROSS_READELF} -A $${EXT_TOOLCHAIN_LIBM} | grep -q "Tag_ABI_VFP_args:" ; then \ EXT_TOOLCHAIN_ABI="eabihf" ; \