summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/Kconfig
blob: 42e47dc39998475bd3f61c80d1d6f8fcc3ab24ed (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_X86
comment "x86 Configuration Options"

choice
	prompt "x86 chip selection"
	default ARCH_I486

config ARCH_I486
	bool "i486"
	select ARCH_X86_HAVE_32BIT
	---help---
		Intel i486 architecture

endchoice

config ARCH_CHIP_QEMU
	bool "Qemu x86 emulation"
	default n
	---help---
		Intel i486 architecture

config ARCH_CHIP
	string
	default "qemu" if ARCH_CHIP_QEMU

config ARCH_X86_HAVE_32BIT
	bool
	default n

config ARCH_X86_M32
	bool "Build 32-bit system with a 64-bit machine"
	default n
	depends on ARCH_X86_HAVE_32BIT
	---help---
		If you are building for a 32-bit target using a native 64-bit
		toolchain, then you need to add compilation options to select the
		32-bit target.  Selecting this option will add the -m32 option to
		the compiler command line.

source arch/x86/src/common/Kconfig
if ARCH_I486
source arch/x86/src/i486/Kconfig
endif # ARCH_I486
if ARCH_CHIP_QEMU
source arch/x86/src/qemu/Kconfig
endif # ARCH_CHIP_QEMU
endif # ARCH_X86