summaryrefslogtreecommitdiff
path: root/config/target.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-11-25 22:59:29 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-11-25 22:59:29 (GMT)
commit67d2ab4fb668e30e868610a3d28dd7866fdb3223 (patch)
tree0ff601e3112faccb966e13e0b9aedc2aee7c44d9 /config/target.in
parent1d0df8836b16ceec3fbdd6a4e3b95dd7d0fb4c89 (diff)
config/target: enforce floating point support
Do not prompt for the type of floating-point support, if the architecture did not explicitly stated that it did support it. Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/target.in')
-rw-r--r--config/target.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in
index 78aa3bc..db08f22 100644
--- a/config/target.in
+++ b/config/target.in
@@ -260,6 +260,7 @@ config ARCH_FPU
choice
bool
prompt "Floating point:"
+ depends on ARCH_SUPPORTS_WITH_FLOAT
config ARCH_FLOAT_HW
bool
@@ -328,6 +329,7 @@ config TARGET_LDFLAGS
config ARCH_FLOAT
string
+ default "" if ! ARCH_SUPPORTS_WITH_FLOAT
default "hard" if ARCH_FLOAT_HW
default "soft" if ARCH_FLOAT_SW
default "softfp" if ARCH_FLOAT_SOFTFP