mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
f28c9708e3
CONFIG_DEFCONFIG_LIST specifies the default defconfig. It is used by "make savedefconfig" when .config is missing. But that's it. I could not find other useful cases. As a side effect, CONFIG_DEFCONFIG_LIST="configs/sandbox_defconfig" is contained in .config of every target board, which some people think is odd. So, let's remove it. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Michal Simek <michal.simek@xilinx.com>
59 lines
1.3 KiB
Text
59 lines
1.3 KiB
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
#
|
|
mainmenu "U-Boot $UBOOTVERSION Configuration"
|
|
|
|
config UBOOTVERSION
|
|
string
|
|
option env="UBOOTVERSION"
|
|
|
|
config KCONFIG_OBJDIR
|
|
string
|
|
option env="KCONFIG_OBJDIR"
|
|
|
|
menu "General setup"
|
|
|
|
config SPL_BUILD
|
|
bool
|
|
depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
|
|
default y
|
|
|
|
config TPL_BUILD
|
|
bool
|
|
depends on $KCONFIG_OBJDIR="tpl"
|
|
default y
|
|
|
|
config SPL
|
|
bool
|
|
prompt "Enable SPL" if !SPL_BUILD
|
|
default y if SPL_BUILD
|
|
help
|
|
If you want to build SPL as well as the normal image, say Y.
|
|
|
|
config TPL
|
|
bool
|
|
depends on SPL
|
|
prompt "Enable TPL" if !SPL_BUILD
|
|
default y if TPL_BUILD
|
|
default n
|
|
help
|
|
If you want to build TPL as well as the normal image and SPL, say Y.
|
|
|
|
config SYS_EXTRA_OPTIONS
|
|
string "Extra Options (DEPRECATED)"
|
|
depends on !SPL_BUILD
|
|
help
|
|
The old configuration infrastructure (= mkconfig + boards.cfg)
|
|
provided the extra options field. It you have something like
|
|
"HAS_BAR,BAZ=64", the optional options
|
|
#define CONFIG_HAS
|
|
#define CONFIG_BAZ 64
|
|
will be defined in include/config.h.
|
|
This option was prepared for the smooth migration from the old
|
|
configuration to Kconfig. Since this option will be removed sometime,
|
|
new boards should not use this option.
|
|
|
|
endmenu # General setup
|
|
|
|
source "arch/Kconfig"
|