In all situations where we need to bootstrap yacc, we also need to

bootstrap liby.  This was not readily apparent, because a normal 'make
buildworld' or 'make toolchain' builds liby before building anything
that uses yacc.  However, 'make kernel-toolchain' does not build
headers or libraries, so it was not possible to build a kernel from
head on, say, stable/9 without first building the complete toolchain.

MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2013-02-25 22:25:56 +00:00
parent 1d59211b2e
commit 776a9ddc8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247285

View File

@ -1132,7 +1132,8 @@ _lex= usr.bin/lex
.endif
.if ${BOOTSTRAPPING} < 1000013
_yacc= usr.bin/yacc
_yacc= lib/liby \
usr.bin/yacc
.endif
.if ${BOOTSTRAPPING} < 1000026