From: Adrian Bunk Date: Sat, 26 Apr 2008 15:00:30 +0000 Subject: Re: [PATCH] headerdep: a tool for detecting inclusion cycles in Message-Id: <20080426150030.GH2252@cs181133002.pp.htv.fi> List-Id: References: <20080426134554.GA20727@damson.getinternet.no> In-Reply-To: <20080426134554.GA20727@damson.getinternet.no> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Vegard Nossum Cc: Sam Ravnborg , Pekka Enberg , linux-kbuild@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org On Sat, Apr 26, 2008 at 03:45:54PM +0200, Vegard Nossum wrote: > Hi Sam, > > Maybe something like this could be useful for cleaning up headers (and > maintaining that cleanliness once it has been achieved). What do you think? > > (One thing which might or might not be good is that 'make headerdep' will > also compile using CC if they're not already compiled. If this should be > fixed, I think you'd know how to do it.) This way you only catch problems in the current kernel configuration. The only problems are under include/, and you should be able to do this by parsing all headers and without hooking into the build system. > Vegard >... cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed