[U-Boot] [PATCH 04/11] kconfig: add basic Kconfig files

Masahiro Yamada yamada.m at jp.panasonic.com
Wed May 7 08:23:41 CEST 2014


Hi Scott,

On Thu, 1 May 2014 13:21:08 -0500
Scott Wood <scottwood at freescale.com> wrote:

> On Thu, 2014-04-24 at 14:04 +0900, Masahiro Yamada wrote:
> > +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"
> 
> Why does this need to be a string?

I want to show $BUILD_MODE in the top menu.

> +# see Documentation/kbuild/kconfig-language.txt.
> +#
> +mainmenu "U-Boot $UBOOTVERSION $BUILD_MODE Configuration"

here.


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list