
HI Masahiro,
On 23 April 2014 23:04, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
This commit adds more Kconfig files, which were written by hand.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com
Kconfig | 47 +++++++++++++++++++++++++++++++++++++++++++ arch/Kconfig | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 Kconfig create mode 100644 arch/Kconfig
diff --git a/Kconfig b/Kconfig new file mode 100644 index 0000000..4e383d2 --- /dev/null +++ b/Kconfig @@ -0,0 +1,47 @@ +# +# For a description of the syntax of this configuration file, +# see Documentation/kbuild/kconfig-language.txt. +# +mainmenu "U-Boot $UBOOTVERSION $BUILD_MODE Configuration"
+config UBOOTVERSION
string
option env="UBOOTVERSION"
+config KCONFIG_OBJDIR
string
option env="KCONFIG_OBJDIR"
+config BUILD_MODE
string
default "SPL" if $KCONFIG_OBJDIR="spl/"
default "TPL" if $KCONFIG_OBJDIR="tpl/"
default "Main"
+menu "General setup"
+config SPL_BUILD
bool
depends on BUILD_MODE="SPL" || BUILD_MODE="TPL"
What is the TPL term for?
default y
+config TPL_BUILD
bool
depends on BUILD_MODE="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
+endmenu # General setup
[snip]
Regards, Simon