From 67d2ab4fb668e30e868610a3d28dd7866fdb3223 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 25 Nov 2011 23:59:29 +0100 Subject: 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 Signed-off-by: "Yann E. MORIN" 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 -- cgit v0.10.2-6-g49f6