]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r263429
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Apr 2014 19:51:33 +0000 (19:51 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Apr 2014 19:51:33 +0000 (19:51 +0000)
commit2a44679ea015b19f566968ef6a85281b9292e8d0
treecdbeb9cf60fb322b42638c492b3f0c1f75f3ec64
parent45270140c7ca0a76df7d0e039721efc03e9b1594
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/10@264325 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