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:
cperciva 2005-03-18 12:55:07 +00:00
parent 2f7506bdfd
commit 5c67f1fcb6

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