mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
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:
parent
1d0df8836b
commit
67d2ab4fb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user