New smart CONFIG_* patch, works with modules

Michael Elizabeth Chastain (mec@shout.net)
Sun, 23 Nov 1997 16:57:43 -0600


Hello kernel hackers,

Here it is:

ftp://ftp.shout.net/pub/users/mec/patch/smart-config.2165

Martin von Loewis contributed a new feature, 'flag dependencies',
that solves the module problem in a much better way.

As before, the heart of this patch is a new 'mkdep.c' that understands
CONFIG_* dependencies. So if drivers/net/foo.c includes config.h and uses
only CONFIG_FOO, then it only gets recompiled when CONFIG_FOO changes.
This cuts 'make zImage' time about 90% when changing configuration
options.

Also, if you try this patch, and it works for you, please send me e-mail.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"