summaryrefslogtreecommitdiff
path: root/target/config/Config.in.archopts
blob: 9393a5ac84094496be84a97ec60e5722d83d3670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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"
depends on ADK_TARGET_ARCH_ARM

config ADK_TARGET_ARCH_ARM_WITH_ARM
	bool "arm"

config ADK_TARGET_ARCH_ARM_WITH_THUMB
	bool "thumb"
	select ADK_LINUX_KERNEL_ARM_THUMB if ADK_TARGET_OS_LINUX
	select ADK_LINUX_KERNEL_THUMB2_KERNEL if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_ARM_THUMB if ADK_TARGET_OS_WALDUX
	select ADK_WALDUX_KERNEL_THUMB2_KERNEL if ADK_TARGET_OS_WALDUX
	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

config ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
	bool
	depends on ADK_TARGET_ARCH_MIPS \
		|| ADK_TARGET_ARCH_MIPS64

config ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
	bool
	depends on ADK_TARGET_ARCH_MIPS \
		|| ADK_TARGET_ARCH_MIPS64

config ADK_TARGET_NAN_MODE
	string
	default "legacy" if ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
	default "2008" if ADK_TARGET_ARCH_MIPS_WITH_NAN_2008