summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-02-25 22:25:56 +0000
committerdes <des@FreeBSD.org>2013-02-25 22:25:56 +0000
commit06605a4421e89ad0dfea62aabf93103b5ea4a534 (patch)
tree0ae23e8f79966c9de1661556683fd86d0793b41b /Makefile.inc1
parent9dc77e1662fd8adcb9f240934bb34cb5a041e783 (diff)
downloadFreeBSD-src-06605a4421e89ad0dfea62aabf93103b5ea4a534.zip
FreeBSD-src-06605a4421e89ad0dfea62aabf93103b5ea4a534.tar.gz
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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8a8f8cd..f404eaa 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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
OpenPOWER on IntegriCloud