Hi, On Wed, Mar 09, 2011 at 02:08:58PM +0100, Alexander Dahl wrote: > > It looks like "mainmenu" can only be used in toplevel config file with the > > latest kconfig. Just replace 'source "config/Kconfig"' with its content. > > I didn't want to put all the content from > /usr/local/lib/ptxdist-2011.02.0/config/Kconfig into my own config.
Actually imho config/Kconfig is mostly a template to be copied. I do this for all projects. Maybe we can move stuff elsewhere, so it will change less often? Lets see: > # > # config/Kconfig: Main menu structure definition > # Copyright (C) 2002-2006, 2009 by Robert Schwebel <[email protected]> > # > > mainmenu "PTXdist $CONFIGFILE_VERSION" > > config MODULES > bool > default y Hmm, it really doesn't matter where we put this. rules/Kconfig maybe? However moving this may result in warnings for existing projects. > source "generated/project_specific.in" > source "generated/fixme.in" This remains. It's just an example for whatever groups you use. > source "generated/project_name.in" > > source "rules/Kconfig" I'd like to keep this too. In a real project I often rearrange things: source "generated/project_name.in" menu "<for local stuff>" [... local rules ...] endmenu menu "<for generic stuff>" source "rules/Kconfig" endmenu Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
