summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-06 17:44:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-06 17:44:27 +0200
commitda8fa37f0c2a485673469434138b121a0a87c8e8 (patch)
treee7b95f4ee63ce9b1e1769d3cfa55c9afb592162d /target/config
parent36d45e68fb94c085317f21657a317df4768b1a2f (diff)
allow preselection of ABI
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.abi.choice16
-rw-r--r--target/config/Config.in.arm.choice15
-rw-r--r--target/config/Config.in.arm.default10
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