Hi,
On Tue, Jan 25, 2011 at 09:55:46AM +0100, Alexander Dahl wrote:
> > 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.
>
> That's not the case. See:
>
> $ grep -v '^#' Kconfig
> source "config/Kconfig"
> comment "----------- foo ------------"
> source "generated/host-settings.in"
> source "generated/foo.in"
Strange. That's the only situation where I get that error.
> > So don't source config/Kconfig or remove the mainmenu entry in your
> > Kconfig.
>
> Not sourcing config/Kconfig is no option an removing a mainmenu entry
> in our Kconfig is not possible, because it's not there. There's also
> none in any .in file in the rules folder.
>
> I used grep to find out where it is used in ptxdist itself and this
> shows:
>
> $ grep -inr mainmenu ptxdist-2011.01.0/config
> ptxdist-2011.01.0/config/collection/Kconfig:2:mainmenu "PTXdist
> $COLLECTION_VERSION_DEFAULT"
> ptxdist-2011.01.0/config/setup/Kconfig:6:mainmenu "PTXdist
> $SETUP_VERSION_DEFAULT"
> ptxdist-2011.01.0/config/Kconfig:6:mainmenu "PTXdist $CONFIGFILE_VERSION"
> ptxdist-2011.01.0/config/boardsetup/Kconfig:3:mainmenu "PTXdist
> $BOARDSETUP_VERSION_DEFAULT"
> ptxdist-2011.01.0/config/busybox/Config.in:6:# mainmenu "BusyBox
> Configuration"
>
> Is some of this used at the same time somehow by ptxdist? I assume not.
No. These are all separate.
> Where in the menu should this string appear? If I change it in the old
> version in ptxdist-2010.11.1/config/Kconfig to something easily
> visible like "***foo**" I can not see it anywhere.
In the old version it's only in the comment in the config file. In the new
version it is also the title in menuconfig.
You could try running kconfig with strace to see which config files are
used.
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh
index 76c3791..3a8a473 100644
--- a/scripts/libptxdist.sh
+++ b/scripts/libptxdist.sh
@@ -283,7 +283,7 @@ ptxd_kconfig() {
#
ptxd_kconfig_migrate "${part}" &&
if tty -s; then
- "${conf}" --silentoldconfig "${file_kconfig}"
+ strace -eopen "${conf}" --silentoldconfig
"${file_kconfig}"
else
"${conf}" --oldconfig "${file_kconfig}"
fi
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
[email protected]