Subject: CVS commit: src/usr.bin/config
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 01/08/2007 16:08:08
Module Name:	src
Committed By:	cube
Date:		Mon Jan  8 16:08:08 UTC 2007

Modified Files:
	src/usr.bin/config: Makefile config.1 defs.h main.c sem.c
Added Files:
	src/usr.bin/config: lint.c

Log Message:
Introduce a new option to config(1):  -L.  What it does is takes a regular
configuration file (although it is meant to be used mostly with
std.${ARCH}), and prints out a configuration file that includes it and
select every single option and parameter, and define an instance for every
single possible attachment.  IOW, selects everything, into a would-be
"LINT" config.

The resulting config really isn't meant to be runnable, but should be
somewhat buildable on most archs.  It still needs adjustments because some
options are peculiar (e.g., ACPI_DSDT_FILE wants an existing file as its
value), so it's not yet possible to do "config -L; config; build" in an
automated way.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/usr.bin/config/Makefile
cvs rdiff -r1.3 -r1.4 src/usr.bin/config/config.1
cvs rdiff -r1.16 -r1.17 src/usr.bin/config/defs.h
cvs rdiff -r0 -r1.1 src/usr.bin/config/lint.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/config/main.c
cvs rdiff -r1.25 -r1.26 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.