Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "U-Boot $UBOOTVERSION Configuration"
  6. config UBOOTVERSION
  7. string
  8. option env="UBOOTVERSION"
  9. config KCONFIG_OBJDIR
  10. string
  11. option env="KCONFIG_OBJDIR"
  12. config DEFCONFIG_LIST
  13. string
  14. depends on !SPL_BUILD
  15. option defconfig_list
  16. default "configs/sandbox_defconfig"
  17. menu "General setup"
  18. config SPL_BUILD
  19. bool
  20. depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
  21. default y
  22. config TPL_BUILD
  23. bool
  24. depends on $KCONFIG_OBJDIR="tpl"
  25. default y
  26. config SPL
  27. bool
  28. prompt "Enable SPL" if !SPL_BUILD
  29. default y if SPL_BUILD
  30. help
  31. If you want to build SPL as well as the normal image, say Y.
  32. config TPL
  33. bool
  34. depends on SPL
  35. prompt "Enable TPL" if !SPL_BUILD
  36. default y if TPL_BUILD
  37. default n
  38. help
  39. If you want to build TPL as well as the normal image and SPL, say Y.
  40. config SYS_EXTRA_OPTIONS
  41. string "Extra Options (DEPRECATED)"
  42. depends on !SPL_BUILD
  43. help
  44. The old configuration infrastructure (= mkconfig + boards.cfg)
  45. provided the extra options field. It you have something like
  46. "HAS_BAR,BAZ=64", the optional options
  47. #define CONFIG_HAS
  48. #define CONFIG_BAZ 64
  49. will be defined in include/config.h.
  50. This option was prepared for the smooth migration from the old
  51. configuration to Kconfig. Since this option will be removed sometime,
  52. new boards should not use this option.
  53. endmenu # General setup
  54. source "arch/Kconfig"