2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-04-19 03:17:30 +08:00
|
|
|
|
|
|
|
if ARCH_X86
|
2012-09-09 23:43:18 +08:00
|
|
|
comment "x86 Configuration Options"
|
|
|
|
|
2012-04-19 03:17:30 +08:00
|
|
|
choice
|
|
|
|
prompt "x86 chip selection"
|
2022-06-06 23:51:48 +08:00
|
|
|
default ARCH_CHIP_QEMU_I486
|
2012-04-19 03:17:30 +08:00
|
|
|
|
2022-06-06 23:51:48 +08:00
|
|
|
config ARCH_CHIP_QEMU_I486
|
|
|
|
bool "Qemu x86 emulation"
|
|
|
|
select ARCH_I486
|
2012-04-19 03:17:30 +08:00
|
|
|
---help---
|
|
|
|
Intel i486 architecture
|
|
|
|
|
2020-10-15 11:29:59 +08:00
|
|
|
config ARCH_CHIP_X86_CUSTOM
|
|
|
|
bool "Custom x86 chip"
|
|
|
|
select ARCH_CHIP_CUSTOM
|
|
|
|
---help---
|
|
|
|
Select this option if there is no directory for the chip under arch/x86/src/.
|
|
|
|
|
2012-04-19 03:17:30 +08:00
|
|
|
endchoice
|
|
|
|
|
2022-06-06 23:51:48 +08:00
|
|
|
config ARCH_I486
|
|
|
|
bool
|
|
|
|
select ARCH_X86_HAVE_32BIT
|
2012-04-19 03:17:30 +08:00
|
|
|
---help---
|
|
|
|
Intel i486 architecture
|
|
|
|
|
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
2022-06-06 23:51:48 +08:00
|
|
|
default "qemu" if ARCH_CHIP_QEMU_I486
|
2014-01-18 21:38:50 +08:00
|
|
|
|
|
|
|
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.
|
2012-04-19 03:17:30 +08:00
|
|
|
|
2021-07-20 19:10:10 +08:00
|
|
|
source "arch/x86/src/common/Kconfig"
|
2014-01-18 21:38:50 +08:00
|
|
|
if ARCH_I486
|
2021-07-20 19:10:10 +08:00
|
|
|
source "arch/x86/src/i486/Kconfig"
|
2014-01-18 21:38:50 +08:00
|
|
|
endif # ARCH_I486
|
2022-06-06 23:51:48 +08:00
|
|
|
if ARCH_CHIP_QEMU_I486
|
2021-07-20 19:10:10 +08:00
|
|
|
source "arch/x86/src/qemu/Kconfig"
|
2022-06-06 23:51:48 +08:00
|
|
|
endif # ARCH_CHIP_QEMU_I486
|
2014-01-18 21:38:50 +08:00
|
|
|
endif # ARCH_X86
|