]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r230622:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Feb 2012 23:36:08 +0000 (23:36 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Feb 2012 23:36:08 +0000 (23:36 +0000)
commitab3fb149e00be48b5450308eb065f9f7607dcf9e
treeb5fff13bf908f7a13ce55c783027e009a52af224
parent07afda784f3157fec58e070b3b3917e90553fce9
MFC r230622:

When the buildkernel stage 2.3 (build tools) runs, the PATH is still set
to the default from the top-level Makefile.  Therefore, invocations of
lex and yacc (used during building of aicasm) will use the executables
in /usr/bin, not those optionally built during the previous buildworld
or kernel-toolchain.  This makes kernel builds from older FreeBSD
releases more difficult than necessary.

Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the
bootstrap tools directories are searched before the regular ones.

Silence from: svn-src-{all,head}

git-svn-id: svn://svn.freebsd.org/base/stable/9@230971 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1