summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-03 11:53:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-24 22:45:48 +0100
commite25d704e10230f7ea095b4bbb5660e73fbefdf29 (patch)
tree9376d3d59db9da32bb2d9ef29862b67a317837b6 /toolchain
parent31b134a64537b1f6f38cd9378f4ddf0f43b22b43 (diff)
downloadbuildroot-e25d704e10230f7ea095b4bbb5660e73fbefdf29.tar.gz
buildroot-e25d704e10230f7ea095b4bbb5660e73fbefdf29.zip
arch/mips: inverse the mfpxx logic
Currently, the possibility to choose the floating point mode (32, xx or 64) is conditional on having a sufficiently recent gcc version. Which means that the architecture selection depends on the gcc version. But that's opposite to what we've always done in Buildroot: the software versions are conditional to the architecture options. There is nothing we can do about the hardware: it is there, we can't change it, while we can restrict ourselves to using software that is working on said hardware. Thus, we inverse the logic, to move the condition onto the software side: whenever mfpxx is selected, we restrict the toolchain selection to at least a gcc-5. And now, the blind BR2_TOOLCHAIN_HAS_MFPXX_OPTION symbol is no longer needed, so we get rid of it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-common.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 15553772fd..d743c637ce 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -356,10 +356,6 @@ config BR2_TOOLCHAIN_HAS_MNAN_OPTION
bool
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
-config BR2_TOOLCHAIN_HAS_MFPXX_OPTION
- bool
- default y if BR2_TOOLCHAIN_GCC_AT_LEAST_5
-
config BR2_TOOLCHAIN_HAS_SYNC_1
bool
default y
OpenPOWER on IntegriCloud