Hi,

On Wed, Feb 23, 2011 at 11:31:59AM +0100, Alexander Dahl wrote:
> > 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
> 
> I did this and piped the output from stderr in a file, the first lines
> are:
> 
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
> open("/home/adahl/Work/src/ourprojectfolder/Kconfig", O_RDONLY) = 3
> open("config/Kconfig", O_RDONLY)        = 4
> config/Kconfig:6: invalid statement
> 
> You see the error occurs when reading Kconfig already before reading
> any other in rule. Suggestions?

Can you send me /home/adahl/Work/src/ourprojectfolder/Kconfig?

Regards,
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]

Reply via email to