freebsd-nq/usr.sbin/config
Alan Somers ae0944614d Fix kern/187712: config(8) does not respect KERNCONFDIR.
The impact of this bug is that you cannot build a kernel if both of the
following are true:
1) The kernel config file is in a non-default location
2) The kernel config file uses the "include" statement from config(5).

usr.sbin/config/main.c
usr.sbin/config/config.8
usr.sbin/config/config.h
usr.sbin/config/lang.l
	Added a "-I path" option to config(8).  By analogy to cc(1), it adds
	an extra path in which the "include" statement will search for
	files.

Makefile.inc1
	Pass "-I ${KERNCONFDIR}" to config(8).

PR:		kern/187712
Reviewed by:	will, imp (previous version)
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corporation
2014-03-20 17:30:09 +00:00
..
config.5 mdoc: drop redundant .Pp calls, kill EOL whitespace 2010-10-09 11:43:00 +00:00
config.8 Fix kern/187712: config(8) does not respect KERNCONFDIR. 2014-03-20 17:30:09 +00:00
config.h Fix kern/187712: config(8) does not respect KERNCONFDIR. 2014-03-20 17:30:09 +00:00
config.y Remove the advertising clause from UCB copyrighted files in usr.sbin. This 2010-12-11 09:38:12 +00:00
configvers.h Implement the '!' operator for files* files. It means 'include this 2014-02-04 18:28:58 +00:00
kernconf.tmpl
lang.l Fix kern/187712: config(8) does not respect KERNCONFDIR. 2014-03-20 17:30:09 +00:00
main.c Fix kern/187712: config(8) does not respect KERNCONFDIR. 2014-03-20 17:30:09 +00:00
Makefile Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
mkheaders.c
mkmakefile.c Fix ! by not clearing not at the bottom of the loop. 2014-02-05 00:26:11 +00:00
mkoptions.c Turns out that it is a bad idea to have a missing compat option be a 2010-08-15 08:44:32 +00:00