[snip]
I think there might be a much easier way to achieve what you
want. Rather than changing almost every file in the source tree,
why not write a utility to just 'touch' all of the unaffected
object files after the configuration change.
The hard part here is setting up the dependancy information
for each configurable parameter, but it should be easier than
what you propose.
make config dependancies
copy .config to .config.old
change configuration
compare .config to .config.old
check the config dependancies
remove any .o files that are affected
touch the unaffected files
make new kernel
Of course you could (even easier, but less fine grained) just
touch all object files in unaffected subsystems. i.e. you change
CONFIG_PPP then only files in linux/drivers/net get rebuilt.
Rob
(rriggs@tesser.com)