From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 989B773F08 for ; Wed, 6 May 2015 08:12:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t468C9J1010659; Wed, 6 May 2015 09:12:09 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GccIrMdl9arK; Wed, 6 May 2015 09:12:09 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t468BuHO010653 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 6 May 2015 09:12:08 +0100 Message-ID: <1430899916.8074.20.camel@linuxfoundation.org> From: Richard Purdie To: Khem Raj Date: Wed, 06 May 2015 09:11:56 +0100 In-Reply-To: <4ffe99f25368e8b65df327fb9120ebca1c29e925.1430895556.git.raj.khem@gmail.com> References: <4ffe99f25368e8b65df327fb9120ebca1c29e925.1430895556.git.raj.khem@gmail.com> X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 5/6] gcc-cross: Pass EXTRA_OECONF_GCC_FLOAT to configure X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 08:12:16 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2015-05-06 at 00:04 -0700, Khem Raj wrote: > This helps in configuring the cross compiler to have sane defaults > in case of ARM e.g. it will do the right thing for selecting hardfloat > ABI when invoked without using TOOLCHAIN_OPTIONS on cmdline. > > Signed-off-by: Khem Raj > --- > meta/recipes-devtools/gcc/gcc-cross.inc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc > index 9792950..3279efb 100644 > --- a/meta/recipes-devtools/gcc/gcc-cross.inc > +++ b/meta/recipes-devtools/gcc/gcc-cross.inc > @@ -30,6 +30,8 @@ EXTRA_OECONF_PATHS = "\ > --with-build-sysroot=${STAGING_DIR_TARGET} \ > " > > +EXTRA_OECONF_GCC_FLOAT = "${@get_gcc_float_setting(bb, d)}" > + > ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" > > do_compile () { But we build gcc-cross-arm once. This will cause it to rebuild depending on which machine you target? Worse, it likely will now do this for all architectures, not just arm. Cheers, Richard