Re: [GIT]: Networking

From: David Miller
Date: Tue Jan 06 2009 - 11:12:56 EST


From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Tue, 6 Jan 2009 09:11:35 +0100

> One of the pratical issues I have with this is when to read which files.
>
> What we could do is something like:
>
> - during *config scan all "wildcard enabled" directories
> and read the Kconfig info from the relevant .C files.
> - record which .C files which included Kconfig and do
> an automatic "scan + oldconfig" when one of these files
> changes
>
> When we add new Kconfig info to a file we would have
> to manually do the *config to trigger a scan for the .C files

Yes, this is the only cheap way to do this.

Note, we are already scanning the full source files using a custom
tool to generate dependencies.... oh nevermind, we used to use a
custom tool, we seem to be just transforming gcc -MD output now.

Anyways, if we were still using that custom optimized parser we could
have put the Kconfig/Makefile info extracter in there.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/