aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-10-27 03:38:57 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-10-27 03:38:57 +0000
commit6ef0c7707d560d7208335d2a9ea917f6cd2a8b5b (patch)
treec8c837051d7a7babec4967efacfac41a22502bfa /Makefile.inc1
parent5d5e1c2b12c5ee4599deccf64a7c9db1e522c777 (diff)
downloadsrc-6ef0c7707d560d7208335d2a9ea917f6cd2a8b5b.tar.gz
src-6ef0c7707d560d7208335d2a9ea917f6cd2a8b5b.zip
DISTDIR is used by 'make release', lets see if this is enough to turn
off the execution test.
Notes
Notes: svn path=/head/; revision=106014
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index e13aaf2348c9..3a6582f4c000 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -356,7 +356,7 @@ installcheck:
false; \
fi
.endif
-.if ${TARGET_ARCH} == ${MACHINE_ARCH} && \
+.if ${TARGET_ARCH} == ${MACHINE_ARCH} && !defined(DISTDIR) && \
(!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
@echo "Checking to see if your booted kernel is fresh enough.."
${.OBJDIR}/bin/sh/sh -c \