Messages in this thread | | | Date | Tue, 06 Jan 2009 08:12:33 -0800 (PST) | Subject | Re: [GIT]: Networking | From | David Miller <> |
| |
From: Sam Ravnborg <sam@ravnborg.org> 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.
| |