summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2017-07-21 18:06:32 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-21 22:49:18 +0200
commit087be35e22192460773489e3959e6c920ae7889a (patch)
tree59bed763c8862d6af97d4d632e145d281c1334af /toolchain
parent0af741187f6e273664da202936e79082071866f8 (diff)
downloadbuildroot-087be35e22192460773489e3959e6c920ae7889a.tar.gz
buildroot-087be35e22192460773489e3959e6c920ae7889a.zip
arch/mips: add option for toolchains supporting -mfpxx
-mfpxx option was added in gcc-5.1.0 so make sure that users cannot select the "xx" fp32 mode when using toolchains that have a gcc older than 5.1.0. -mfp32 and -mfp64 were added in gcc-4.1.0, so given the older gcc version we support in Buildroot (in the GCC_AT_LEAST options) is 4.3 we don't need to do anything else for them. Signed-off-by: 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, 4 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 0002682e12..dd192b9ba4 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -346,6 +346,10 @@ 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