summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-26 08:49:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-26 08:49:54 +0200
commit40897a4cf230654a1b3b3d8d717fbf0b135e2f36 (patch)
tree5e45b0525ab6d1b20ac2ab4509e23ec0a65d635a /toolchain
parentf1b4753e5a41e585809e0d9c95a917b4e9f04ed7 (diff)
move thumb mode to toolchain options
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3a0306ac4..6a41140b8 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -44,4 +44,18 @@ config ADK_TOOLCHAIN_USE_GOLD
depends on ADK_TOOLCHAIN_GOLD
default n
+choice
+prompt "Use ARM thumb mode"
+depends on ADK_CPU_CORTEX_A9
+
+config ADK_LINUX_ARM_WITHOUT_THUMB
+ boolean "disabled"
+ select ADK_mode_arm
+
+config ADK_LINUX_ARM_WITH_THUMB
+ boolean "enabled"
+ select ADK_mode_thumb
+ select ADK_KERNEL_THUMB2_KERNEL
+
+endchoice
endmenu