Re: [PATCH RFC] kconfig.h fix extraneous dependencies

Peter Foley
2011-08-01T01:19:14Z

On Sun, 31 Jul 2011, Arnaud Lacombe wrote:

> Hi,
>
> On Sun, Jul 31, 2011 at 8:36 PM, Peter Foley <pefoley2@verizon.net> wrote:
> > The introduction of kconfig.h caused fixdep to create three extraneous
> > dependencies.
> > include/config/.h
> > include/config/h.h
> > include/config/foo.h
> >
> > Remove them by eliminating instances of CONFIG_
> >
> this seems ugly to me... I would rather try to fix fixdep, no ?
>
> - Arnaud

I'd be the first to admit that this patch is a ugly hack.
However, judging by the comments in fixdep.c this is expected behavior.
I'm also afraid that changing fixdep to ignore comments would slow down
the whole build for the sake of one file which IMHO dosen't seem to be a
worthwhile tradeoff.

Thanks,

Peter