Hello, On Mon, Jan 24, 2011 at 02:17:47PM +0100, Alexander Dahl wrote: > we tried to migrate from ptxdist 2010.11.1 to 2011.01.0 after you > announced the update today. However 'ptxdist migrate' fails with the > following error: > > config/Kconfig:6: invalid statement > > ptxdist: 'ptx oldconfig' returned with an error > > We use our own Kconfig in our project root, but it's nearly the same > as the one in rules/templates/kconfig -- just sourcing our own menu > extensions in the end as described in template and application note. > > The problem seems to be the line > > mainmenu "PTXdist $CONFIGFILE_VERSION" > > in file config/Kconfig which was > > mainmenu "Configuration" > > in the previous version. Just changing this back doesn't help though. > > Could someone give a hint how to migrate successfully?
only one 'mainmenu "..."' entry is allowed. I assume you have a a mainmenu entry in your Kconfig and you source config/Kconfig which has another one. So don't source config/Kconfig or remove the mainmenu entry in your Kconfig. Regards, Michael Olbrich -- 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 ptxdist@pengutronix.de