imgtec-ci20: genimage config/ u-boot env
[openadk.git] / target / config / Config.in.float
blob3fd79d2b9fee70c45ac4c2ac6c6b5e77b23258a2
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice ADK_TARGET_FLOAT_MODE
5 prompt "Float configuration"
6 depends on ADK_TARGET_ARCH_ARM || \
7            ADK_TARGET_ARCH_CSKY || \
8            ADK_TARGET_ARCH_M68K || \
9            ADK_TARGET_ARCH_MIPS || \
10            ADK_TARGET_ARCH_NIOS2 || \
11            ADK_TARGET_ARCH_PPC
13 config ADK_TARGET_HARD_FLOAT
14         bool "hard-float"
15         depends on ADK_TARGET_CPU_WITH_FPU \
16                 && !ADK_TARGET_CPU_WITH_FPU_FPV5
18 config ADK_TARGET_HARD_FLOAT_SP
19         bool "hard-float-single-precision"
20         depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5
22 config ADK_TARGET_HARD_FLOAT_DP
23         bool "hard-float-double-precision"
24         depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5
26 config ADK_TARGET_SOFT_FLOAT
27         bool "soft-float"
29 config ADK_TARGET_SOFTFP_FLOAT
30         bool "softfp"
31         depends on ADK_TARGET_ARCH_ARM
33 endchoice
35 config ADK_TARGET_FLOAT
36         string
37         depends on !ADK_TARGET_ARCH_M68K \
38                 && !ADK_TARGET_ARCH_NIOS2
39         default "hard" if ADK_TARGET_HARD_FLOAT || ADK_TARGET_HARD_FLOAT_SP || ADK_TARGET_HARD_FLOAT_DP
40         default "soft" if ADK_TARGET_SOFT_FLOAT
41         default "softfp" if ADK_TARGET_SOFTFP_FLOAT