diff options
author | Masahiro Yamada | 2014-07-30 00:08:15 -0500 |
---|---|---|
committer | Tom Rini | 2014-07-30 07:48:02 -0500 |
commit | 516312598ab1a310d8fa8339694b56090d87c63d (patch) | |
tree | d4e87c8fc3ab141e25062588ae3e922fa007d482 /Kconfig | |
parent | dd84058d24ff54d6b32818ffe44aeb4bba2cfae6 (diff) | |
download | u-boot-516312598ab1a310d8fa8339694b56090d87c63d.tar.gz u-boot-516312598ab1a310d8fa8339694b56090d87c63d.tar.xz u-boot-516312598ab1a310d8fa8339694b56090d87c63d.zip |
kconfig: add basic Kconfig files
This commit adds more Kconfig files, which were written by hand.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig new file mode 100644 index 0000000000..9e77a6e28b --- /dev/null +++ b/Kconfig | |||
@@ -0,0 +1,65 @@ | |||
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 | config DEFCONFIG_LIST | ||
16 | string | ||
17 | depends on !SPL_BUILD | ||
18 | option defconfig_list | ||
19 | default "configs/sandbox_defconfig" | ||
20 | |||
21 | menu "General setup" | ||
22 | |||
23 | config SPL_BUILD | ||
24 | bool | ||
25 | depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl" | ||
26 | default y | ||
27 | |||
28 | config TPL_BUILD | ||
29 | bool | ||
30 | depends on $KCONFIG_OBJDIR="tpl" | ||
31 | default y | ||
32 | |||
33 | config 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 | |||
40 | config 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 | |||
49 | config 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 | |||
63 | endmenu # General setup | ||
64 | |||
65 | source "arch/Kconfig" | ||