993e5c4fd2
config(8)'s option handling has been written to allow duplicate options; if the value changes, then the latest value is used and an informative message is printed to stderr like so: /usr/src/sys/amd64/conf/TEST: option "VERBOSE_SYSINIT" redefined from 0 to 1 Currently, this is only a possibility for cpu types, MAXUSERS, and MACHINE_ARCH. Anything else duplicated in a config file will use the first value set and error about duplicated options on subsequent appearances, which is arguably unfriendly since one could specify: include GENERIC nooptions VERBOSE_SYSINIT options VERBOSE_SYSINIT to redefine the value later anyways. Reported by: mmacy MFC after: 1 week |
||
---|---|---|
.. | ||
config.5 | ||
config.8 | ||
config.h | ||
config.y | ||
configvers.h | ||
kernconf.tmpl | ||
lang.l | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
mkheaders.c | ||
mkmakefile.c | ||
mkoptions.c |