[PATCH 6 of 6] config/target: enforce floating point support

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Nov 25 23:30:00 GMT 2011


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
# Date 1322261969 -3600
# Node ID 1a0567af940d9a4b4e522b182a3be5dc1295ea1d
# Parent  8a0e12da93ac60d3afb7817dd90a5412cba70d8d
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>

diff --git a/config/target.in b/config/target.in
--- a/config/target.in
+++ b/config/target.in
@@ -260,6 +260,7 @@
 choice
     bool
     prompt "Floating point:"
+    depends on ARCH_SUPPORT_FLOAT
 
 config ARCH_FLOAT_HW
     bool
@@ -328,6 +329,7 @@
 
 config ARCH_FLOAT
     string
+    default ""       if ! ARCH_SUPPORT_FLOAT
     default "hard"   if ARCH_FLOAT_HW
     default "soft"   if ARCH_FLOAT_SW
     default "softfp" if ARCH_FLOAT_SOFTFP

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list