diff options
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.abi.choice | 16 | ||||
-rw-r--r-- | target/config/Config.in.arm.choice | 15 | ||||
-rw-r--r-- | target/config/Config.in.arm.default | 10 |
3 files changed, 26 insertions, 15 deletions
diff --git a/target/config/Config.in.abi.choice b/target/config/Config.in.abi.choice index 53f6ed1c8..74e599ead 100644 --- a/target/config/Config.in.abi.choice +++ b/target/config/Config.in.abi.choice @@ -34,3 +34,19 @@ config ADK_TARGET_ABI_X32 select ADK_x32 endchoice + +choice +prompt "Target ABI" +depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM +depends on ADK_LINUX_ARM +depends on ADK_TARGET_CPU_WITH_FPU || ADK_TARGET_SYSTEM_QEMU_ARM || ADK_TARGET_TOOLCHAIN + +config ADK_TARGET_ABI_EABIHF + boolean "EABIhf" + select ADK_eabihf + +config ADK_TARGET_ABI_EABI + boolean "EABI" + select ADK_eabi + +endchoice diff --git a/target/config/Config.in.arm.choice b/target/config/Config.in.arm.choice index 5c834c0e9..6cdfdba2a 100644 --- a/target/config/Config.in.arm.choice +++ b/target/config/Config.in.arm.choice @@ -38,18 +38,3 @@ config ADK_TARGET_CUBOX_I1 endchoice -choice ADK_TARGET_ARM_FLOAT -prompt "Target float type" -depends on ADK_TARGET_CPU_WITH_FPU || ADK_TARGET_SYSTEM_QEMU_ARM || ADK_TARGET_TOOLCHAIN - -config ADK_TARGET_ARM_HARD_FLOAT - boolean "Use hard-float for system with FPU" - select ADK_hard_float - select ADK_eabihf - -config ADK_TARGET_ARM_SOFT_FLOAT - boolean "Use soft-float for system without FPU" - select ADK_soft_float - select ADK_eabi - -endchoice diff --git a/target/config/Config.in.arm.default b/target/config/Config.in.arm.default index 59513ff8c..50a05b674 100644 --- a/target/config/Config.in.arm.default +++ b/target/config/Config.in.arm.default @@ -28,6 +28,16 @@ config ADK_fpu_neon config ADK_fpu_vfp boolean +config ADK_TARGET_ARM_HARD_FLOAT + boolean + select ADK_hard_float + default y if ADK_TARGET_ABI_EABIHF + +config ADK_TARGET_ARM_SOFT_FLOAT + boolean + select ADK_soft_float + default y if ADK_TARGET_ABI_EABI + config ADK_TARGET_FLOAT string default "hard" if ADK_hard_float |