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>
This commit is contained in:
Yann E. MORIN" 2011-11-25 23:59:29 +01:00
parent 1d0df8836b
commit 67d2ab4fb6

View File

@ -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