summaryrefslogtreecommitdiff
path: root/config/target.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-10-19 02:27:32 (GMT)
committerMichael Hope <michael.hope@linaro.org>2011-10-19 02:27:32 (GMT)
commit28e54116c34116cbecae0533366bce6b2b55f96e (patch)
treec0dd6c25133616596472f9becef23257aaf353a4 /config/target.in
parentacf31bf88597033760c26da58c328872f46d65cc (diff)
scripts: introduce float type as a string
With the upcoming softfp support, the case..esac test would become a bit convoluted if it were to test three different booleans. Introduce a new blind string config option that defaults to the selected floating point type used. Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/target.in')
-rw-r--r--config/target.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in
index 8282a9d..d38e4c1 100644
--- a/config/target.in
+++ b/config/target.in
@@ -296,6 +296,11 @@ config TARGET_LDFLAGS
Leave blank if you don't know better.
+config ARCH_FLOAT
+ string
+ default "hard" if ARCH_FLOAT_HW
+ default "soft" if ARCH_FLOAT_SW
+
source "config.gen/arch.in.2"
endmenu