From: Masahiro Yamada Date: Wed, 07 May 2014 15:23:41 +0900 Subject: [U-Boot] [PATCH 04/11] kconfig: add basic Kconfig files In-Reply-To: <1398968468.24575.253.camel@snotra.buserror.net> References: <1398315862-1537-5-git-send-email-yamada.m@jp.panasonic.com> <1398968468.24575.253.camel@snotra.buserror.net> Message-ID: <20140507152341.E080.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Scott, On Thu, 1 May 2014 13:21:08 -0500 Scott Wood 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