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