summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-12-07 14:41:16 +0000
committerharti <harti@FreeBSD.org>2004-12-07 14:41:16 +0000
commitc90efa2b2fb0e64d38ea630ac7216f3509ec03a7 (patch)
tree6f732dd7aed468e9363a713a5146599cea1e577b /Makefile
parent849729c60bb4e75b1807c2774e9c57a50004db95 (diff)
downloadFreeBSD-src-c90efa2b2fb0e64d38ea630ac7216f3509ec03a7.zip
FreeBSD-src-c90efa2b2fb0e64d38ea630ac7216f3509ec03a7.tar.gz
Fix builds with a read-only directory and a make upgrade. This is done
by forcing the creation of an object directory for the make regression tests. Let make handle the tracking of the dependency and installation of test_shell script. Submitted by: ru
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1df1911..2291491 100644
--- a/Makefile
+++ b/Makefile
@@ -217,6 +217,7 @@ kernel: buildkernel installkernel
#
upgrade_checks:
@if ! (cd ${.CURDIR}/tools/regression/usr.bin/make && \
+ PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \
PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \
then \
(cd ${.CURDIR} && make make); \
OpenPOWER on IntegriCloud