Subject: Re: Use of opt_ headers
To: Hubert Feyrer <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 08/28/2006 14:24:11
On Mon, Aug 28, 2006 at 03:10:16PM +0200, Hubert Feyrer wrote:
> I'd guess that config(8) can sort that out - parse a GENERIC config file
> and then the 'new' config file, and create a Makefile that only builds
> what's needed, and link in the rest.
Actually you need to look at the list of include files generated by
'make depend' for the object, and extract the list of kernel options
that it depends on.
Then see if you have a file built with the correct set of options.
But, since a lot of options end up in every file, you don't get any
David Laight: firstname.lastname@example.org