[PATCH] Kconfig: sync with linux kernel v2.6.35-4771-g1787985

Sam Ravnborg sam at ravnborg.org
Sat Aug 14 02:51:02 EDT 2010


On Sat, Aug 14, 2010 at 06:35:16AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > We could instead pick this up from the mainmenu entry.
> > 
> > So we in a Kconfig file could have:
> > 
> > mainmenu "My application configuration - version $VERSION"
> > 
> > config VERSION
> > 	string
> > 	option env=VERSION
> > 
> > 
> > The text in mainmenu will have all references to $SOMETHING
> > expanded to the string representation of that symbol.
> > 
> > And we can use existing functionality to pick up environment variables.
> > 
> > The frontends needs to be adapted as well as the kconfig backend.
> > 
> > But doing the above I guess we have 'fixed' almost all kernel references.
> I like it
> 
> and how about the new set/select option I mention also?
> 
> because I also take a look in the kernel for ARM as example and it will be
> usefull to simplify it
Have not considered it yet.
As it is a new feature I decided to look into some of the bugs first.
And I consider the harcoding of "kernel" as a bug.

	Sam



More information about the barebox mailing list