Subject: CVS commit: src/usr.bin/config
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 05/12/2007 10:15:31
Module Name: src
Committed By: dsl
Date: Sat May 12 10:15:31 UTC 2007
Modified Files:
src/usr.bin/config: Makefile mkheaders.c
Log Message:
Enable the code that adds global constants to every kernel object file
that uses each configuration parameter.
This will stop kernel objects build with different options (that come from
config files) being linked together or loaded as a LKM.
Currently some options that have an effect on the kernel DDI/KI are passed
directly as parameters to cc.
An aim (for anyone adequately bored) would be to reduce the number of these
constants that appear in each .o file. .o files with the same constants
should be sharable between kernels (even between XEN and i386).
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.bin/config/Makefile
cvs rdiff -r1.11 -r1.12 src/usr.bin/config/mkheaders.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.