Run "make obj" before "make build-tools" in the directories used for

building the rescue binary.  This fixes a problem with NO_TCSH, where
the "make obj" stage of buildworld doesn't recurse into bin/csh,
resulting in csh build-tools being put into /usr/src/bin/csh.

Pointed out by:	dougb (on hackers@)
This commit is contained in:
Colin Percival 2005-03-18 12:55:07 +00:00
parent 1ea7a6f806
commit 8b0bf216d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143803

View File

@ -292,6 +292,7 @@ objs: $(OUTMK)
build-tools:
.for _tool in bin/csh bin/sh
cd $(.CURDIR)/../../${_tool}; \
MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} obj; \
MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} build-tools
.endfor