summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
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