Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/config



Module Name:    src
Committed By:   thorpej
Date:           Fri Jun  4 07:28:26 UTC 2004

Modified Files:
        src/usr.sbin/config: defs.h gram.y main.c mkmakefile.c

Log Message:
Add "conditional appending makeoptions".  Syntax is:

makeoptions selector FOO+=bar

"selector" may be anything used as a key in the selecttab, i.e. an option,
a "device" name, an "attach" name, a file system, etc.

Semantics: FOO+=bar when the selector is set.  For example, if you have:

makeoptions pickle CPPFLAGS+=-I${S}/picklesrc

then "options PICKLE" will cause "CPPFLAGS+=-I${S}/picklesrc" to be
added to the Makefile.

Suggested by Matt Thomas.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/usr.sbin/config/defs.h
cvs rdiff -r1.49 -r1.50 src/usr.sbin/config/gram.y
cvs rdiff -r1.89 -r1.90 src/usr.sbin/config/main.c
cvs rdiff -r1.60 -r1.61 src/usr.sbin/config/mkmakefile.c

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




Home | Main Index | Thread Index | Old Index