new file mode 100644
@@ -0,0 +1,45 @@
+#
+# 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 "Build SPL image" if !SPL_BUILD
+ default y if SPL_BUILD
+
+config TPL
+ bool
+ depends on SPL
+ prompt "Build TPL image" if !SPL_BUILD
+ default y if TPL_BUILD
+ default n
+
+endmenu # General setup
+
+config ARCH
+ string
+ option env="ARCH"
+
+source "arch/$ARCH/Kconfig"
This commit adds more Kconfig files, which were written by hand. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> --- Kconfig | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Kconfig