[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090106.081233.50701367.davem@davemloft.net>
Date: Tue, 06 Jan 2009 08:12:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: sam@...nborg.org
Cc: jaswinderlinux@...il.com, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dwmw2@...radead.org
Subject: Re: [GIT]: Networking
From: Sam Ravnborg <sam@...nborg.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists