]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r263429
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Apr 2014 19:53:40 +0000 (19:53 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Apr 2014 19:53:40 +0000 (19:53 +0000)
commit03ac399cb3949e15a94181ac14d9c2c2a562534b
tree1d54cd16d1caa8151e405ea4abce4716971baa27
parent50eeb7ff645d80ad555bd8fd7f831599023b18ad
MFC r263429

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).

git-svn-id: svn://svn.freebsd.org/base/stable/9@264326 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1
usr.sbin/config/config.8
usr.sbin/config/config.h
usr.sbin/config/lang.l
usr.sbin/config/main.c