From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 5/6] gcc-cross: Pass EXTRA_OECONF_GCC_FLOAT to configure
Date: Wed, 06 May 2015 09:11:56 +0100 [thread overview]
Message-ID: <1430899916.8074.20.camel@linuxfoundation.org> (raw)
In-Reply-To: <4ffe99f25368e8b65df327fb9120ebca1c29e925.1430895556.git.raj.khem@gmail.com>
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 <raj.khem@gmail.com>
> ---
> 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
next prev parent reply other threads:[~2015-05-06 8:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 7:04 [PATCH 0/6] gcc-5, aarch64 support for musl Khem Raj
2015-05-06 7:04 ` [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
2015-05-06 7:04 ` [PATCH 2/6] gcc: Add 5 recipes Khem Raj
2015-05-06 7:04 ` [PATCH 3/6] insane: Support aarch64 on musl Khem Raj
2015-05-06 7:04 ` [PATCH 4/6] gcc-4.9, gcc-5: Use variable SYSTEMLIBS_DIR instead of hardcoding it for aarch64 Khem Raj
2015-05-06 7:04 ` [PATCH 5/6] gcc-cross: Pass EXTRA_OECONF_GCC_FLOAT to configure Khem Raj
2015-05-06 8:11 ` Richard Purdie [this message]
2015-05-07 6:47 ` Khem Raj
2015-05-07 6:53 ` Richard Purdie
2015-05-07 7:17 ` Khem Raj
2015-05-07 10:24 ` Richard Purdie
2015-05-07 12:05 ` Martin Jansa
2015-05-06 7:04 ` [PATCH 6/6] libart-lgpl: Fix cross compiling Khem Raj
2015-05-06 10:59 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430899916.8074.20.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox