summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/target.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in
index 930876f..c655783 100644
--- a/config/target.in
+++ b/config/target.in
@@ -296,6 +296,15 @@ choice
prompt "Floating point:"
depends on ARCH_SUPPORTS_WITH_FLOAT
+config ARCH_FLOAT_AUTO
+ bool
+ prompt "auto (let gcc decide)"
+ help
+ Instead of explicitly passing a float option, don't
+ pass any float options and let gcc figure it out.
+
+ For multilib configurations, this may help.
+
config ARCH_FLOAT_HW
bool
prompt "hardware (FPU)"
@@ -364,6 +373,7 @@ config TARGET_LDFLAGS
config ARCH_FLOAT
string
default "" if ! ARCH_SUPPORTS_WITH_FLOAT
+ default "auto" if ARCH_FLOAT_AUTO
default "hard" if ARCH_FLOAT_HW
default "soft" if ARCH_FLOAT_SW
default "softfp" if ARCH_FLOAT_SOFTFP