summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-10-27 03:38:57 +0000
committerpeter <peter@FreeBSD.org>2002-10-27 03:38:57 +0000
commit921fb01865f68d82f4ada29aa968001cdf45e517 (patch)
treec8c837051d7a7babec4967efacfac41a22502bfa /Makefile.inc1
parent533c9e097154395bf0644b81f7c3f14953d56176 (diff)
downloadFreeBSD-src-921fb01865f68d82f4ada29aa968001cdf45e517.zip
FreeBSD-src-921fb01865f68d82f4ada29aa968001cdf45e517.tar.gz
DISTDIR is used by 'make release', lets see if this is enough to turn
off the execution test.
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 e13aaf2..3a6582f 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 \
OpenPOWER on IntegriCloud