summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-03-18 12:55:07 +0000
committercperciva <cperciva@FreeBSD.org>2005-03-18 12:55:07 +0000
commit5c67f1fcb65e3e96bd0ec4382bc1153e47b9039d (patch)
tree54488468ba2178dd0a00ec4aa58c2a933041bfad /rescue
parent2f7506bdfded588a6fe115cd0c370c1f261494e4 (diff)
downloadFreeBSD-src-5c67f1fcb65e3e96bd0ec4382bc1153e47b9039d.zip
FreeBSD-src-5c67f1fcb65e3e96bd0ec4382bc1153e47b9039d.tar.gz
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@)
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 24278d3..3c26151 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -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
OpenPOWER on IntegriCloud