lkml.org 
[lkml]   [2009]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT]: Networking
From
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.


\
 
 \ /
  Last update: 2009-01-06 17:15    [W:0.161 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site