]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - Kconfig
Merge branch 'patman' of http://git.denx.de/u-boot-x86
[karo-tx-uboot.git] / Kconfig
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
7 config UBOOTVERSION
8         string
9         option env="UBOOTVERSION"
10
11 config KCONFIG_OBJDIR
12         string
13         option env="KCONFIG_OBJDIR"
14
15 menu "General setup"
16
17 config SPL_BUILD
18         bool
19         depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
20         default y
21
22 config TPL_BUILD
23         bool
24         depends on $KCONFIG_OBJDIR="tpl"
25         default y
26
27 config SPL
28         bool
29         prompt "Enable SPL" if !SPL_BUILD
30         default y if SPL_BUILD
31         help
32           If you want to build SPL as well as the normal image, say Y.
33
34 config TPL
35         bool
36         depends on SPL
37         prompt "Enable TPL" if !SPL_BUILD
38         default y if TPL_BUILD
39         default n
40         help
41           If you want to build TPL as well as the normal image and SPL, say Y.
42
43 config SYS_EXTRA_OPTIONS
44         string "Extra Options (DEPRECATED)"
45         depends on !SPL_BUILD
46         help
47           The old configuration infrastructure (= mkconfig + boards.cfg)
48           provided the extra options field. It you have something like
49           "HAS_BAR,BAZ=64", the optional options
50             #define CONFIG_HAS
51             #define CONFIG_BAZ  64
52           will be defined in include/config.h.
53           This option was prepared for the smooth migration from the old
54           configuration to Kconfig. Since this option will be removed sometime,
55           new boards should not use this option.
56
57 endmenu         # General setup
58
59 source "arch/Kconfig"