summaryrefslogtreecommitdiff
path: root/target/config/Config.in.archopts
blob: fd16981bf5644bf05a197b02a2abfdfabfd369e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
prompt "Instruction set"

config ADK_TARGET_ARCH_ARM_WITH_ARM
	bool "arm"
	depends on ADK_TARGET_WITH_MMU

config ADK_TARGET_ARCH_ARM_WITH_THUMB
	bool "thumb"
	select ADK_KERNEL_ARM_THUMB
	select ADK_KERNEL_THUMB2_KERNEL
	depends on ADK_TARGET_CPU_WITH_THUMB || ADK_TARGET_CPU_WITH_THUMB2

endchoice

config ADK_TARGET_INSTRUCTION_SET
	string
	default "arm" if ADK_TARGET_ARCH_ARM_WITH_ARM
	default "thumb" if ADK_TARGET_ARCH_ARM_WITH_THUMB