Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2 12/25] arch: introduce BR2_GCC_TARGET_{FPU, FLOAT}
Date: Mon, 15 Jul 2013 09:52:01 +0200	[thread overview]
Message-ID: <20130715095201.613a8994@skate> (raw)
In-Reply-To: <8761wcc20o.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Sun, 14 Jul 2013 22:36:23 +0200, Peter Korsgaard wrote:

> And pass it as -mfloat-abi here (except you used the wrong variable, so
> it's never passed).
> 
> What was the idea here?

To select the floating point strategy, you can either pass:

 * --with-float=<foo> at configure time of gcc, in which case it
   applies to the default build of all binaries built by this gcc.

 * -mfloat-abi=<foo> at run time of gcc.

For the internal backend, where we build gcc, I use the former, while
for external toolchain, I use the latter. The difference in option name
explains the confusion in the variable name.

I'll respin this patch (and the rest of the patch set) with this fixed.

Thanks for the review (and the commit of all prior patches)!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-07-15  7:52 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13 22:27 [Buildroot] [PATCHv2 00/25] OABI removal, ARM floating point improvements, EABIhf and Thumb2 support Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 01/25] gcc: use BR2_EXTRA_GCC_CONFIG_OPTIONS in gcc-initial and gcc-intermediate Thomas Petazzoni
2013-07-14 20:30   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 02/25] package/uclibc: fix indentation (use tabs, not spaces) Thomas Petazzoni
2013-07-14 20:30   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 03/25] arch/arm: remove OABI option Thomas Petazzoni
2013-07-14 20:30   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 04/25] arch/arm: remove setting gcc's apcs-gnu ABI (aka OABI) Thomas Petazzoni
2013-07-14 20:30   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 05/25] package/uclibc: ARM OABI is no longer supported Thomas Petazzoni
2013-07-14 20:31   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 06/25] toolchain/helpers: " Thomas Petazzoni
2013-07-14 20:31   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 07/25] linux: remove EABI conditional Thomas Petazzoni
2013-07-14 20:31   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 08/25] pkg-infra: dump all ARM OABI references when setting ABI Thomas Petazzoni
2013-07-14 20:32   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 09/25] toolchain/helpers: only check for an EABI toolchain Thomas Petazzoni
2013-07-14 20:32   ` Peter Korsgaard
2013-07-15  7:48     ` Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 10/25] package/owl-linux: drop check for EABI Thomas Petazzoni
2013-07-14 20:32   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 11/25] package/uClibc: drop ARM EABI conditions Thomas Petazzoni
2013-07-14 20:33   ` Peter Korsgaard
2013-07-13 22:27 ` [Buildroot] [PATCHv2 12/25] arch: introduce BR2_GCC_TARGET_{FPU, FLOAT} Thomas Petazzoni
2013-07-14 20:36   ` Peter Korsgaard
2013-07-15  7:52     ` Thomas Petazzoni [this message]
2013-07-13 22:27 ` [Buildroot] [PATCHv2 13/25] arch: Refactor BR2_SOFT_FLOAT into per-architecture options Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 14/25] arch: improve ARM floating point support and add support for EABIhf Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 15/25] binutils: exclude binutils versions that don't support EABIhf Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 16/25] gcc: take into account ARM floating point capabilities Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 17/25] toolchain: remove the old BR2_VFP_FLOAT option Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 18/25] configs: update defconfigs after VFP option changes Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 19/25] configs: use new EABIhf option for beaglebone_defconfig Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 20/25] toolchain-external: update config options after EABIhf introduction Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 21/25] gcc: create symbolic link to ld-linux in EABIhf/gcc 4.7/eglibc Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 22/25] arch/arm: add support for Thumb2 Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 23/25] uclibc: use numbered patches for 0.9.33.2 Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 24/25] uclibc: add Thumb2 fixes Thomas Petazzoni
2013-07-13 22:27 ` [Buildroot] [PATCHv2 25/25] arch: use tabs instead of spaces in Config.in files Thomas Petazzoni

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=20130715095201.613a8994@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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