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

Masahiro Yamada
2014-05-07T06:23:41Z

Hi Scott,

On Thu, 1 May 2014 13:21:08 -0500
Scott Wood <scottwood@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