Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. if ARCH_X86
  6. comment "x86 Configuration Options"
  7. choice
  8. prompt "x86 chip selection"
  9. default ARCH_I486
  10. config ARCH_I486
  11. bool "i486"
  12. select ARCH_X86_HAVE_32BIT
  13. ---help---
  14. Intel i486 architecture
  15. config ARCH_CHIP_X86_CUSTOM
  16. bool "Custom x86 chip"
  17. select ARCH_CHIP_CUSTOM
  18. ---help---
  19. Select this option if there is no directory for the chip under arch/x86/src/.
  20. endchoice
  21. config ARCH_CHIP_QEMU
  22. bool "Qemu x86 emulation"
  23. default n
  24. ---help---
  25. Intel i486 architecture
  26. config ARCH_CHIP
  27. string
  28. default "qemu" if ARCH_CHIP_QEMU
  29. config ARCH_X86_HAVE_32BIT
  30. bool
  31. default n
  32. config ARCH_X86_M32
  33. bool "Build 32-bit system with a 64-bit machine"
  34. default n
  35. depends on ARCH_X86_HAVE_32BIT
  36. ---help---
  37. If you are building for a 32-bit target using a native 64-bit
  38. toolchain, then you need to add compilation options to select the
  39. 32-bit target. Selecting this option will add the -m32 option to
  40. the compiler command line.
  41. source arch/x86/src/common/Kconfig
  42. if ARCH_I486
  43. source arch/x86/src/i486/Kconfig
  44. endif # ARCH_I486
  45. if ARCH_CHIP_QEMU
  46. source arch/x86/src/qemu/Kconfig
  47. endif # ARCH_CHIP_QEMU
  48. endif # ARCH_X86