From patchwork Mon May 6 10:14:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 241615 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 95A862C0087 for ; Mon, 6 May 2013 20:15:34 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D533CA014B; Mon, 6 May 2013 10:15:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xeDXCHuuqIOE; Mon, 6 May 2013 10:15:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2429BA013C; Mon, 6 May 2013 10:15:24 +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 A06138F7A8 for ; Mon, 6 May 2013 10:15:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5850F8AA3C for ; Mon, 6 May 2013 10:15:21 +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 n902BJmUWU4U for ; Mon, 6 May 2013 10:15:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by whitealder.osuosl.org (Postfix) with ESMTP id 9245389565 for ; Mon, 6 May 2013 10:15:20 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 5D6AF766; Mon, 6 May 2013 12:15:20 +0200 (CEST) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id BADFB762; Mon, 6 May 2013 12:15:19 +0200 (CEST) From: Maxime Ripard To: buildroot@busybox.net Date: Mon, 6 May 2013 12:14:57 +0200 Message-Id: <1367835297-6560-4-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367835297-6560-1-git-send-email-maxime.ripard@free-electrons.com> References: <1367835297-6560-1-git-send-email-maxime.ripard@free-electrons.com> Cc: Maxime Ripard Subject: [Buildroot] [PATCH 3/3] toolchain/gcc: Enable --with-float for powerpc 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 Commit 8d929f4b ("toolchain/gcc: Only enable --with-float when it makes sense") restricted the --with-float use to only MIPS, ARM and SPARC, while it seems that powerpc needs it as well. Fixes the qemu_ppc_virtex_ml507_defconfig build. Signed-off-by: Maxime Ripard --- toolchain/gcc/gcc-uclibc-4.x.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 128b7ab..959568f 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -66,7 +66,8 @@ endif # Determine soft-float options ifeq ($(BR2_SOFT_FLOAT),y) # only mips*-*-*, arm*-*-* and sparc*-*-* accept --with-float -ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_sparc),y) +# powerpc seems to be needing it as well +ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_sparc),y) SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft endif ifeq ($(BR2_arm)$(BR2_armeb),y) # only set float-abi for arm