summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2001-11-16 03:02:34 +0000
committermatusita <matusita@FreeBSD.org>2001-11-16 03:02:34 +0000
commit5f3369bd0eba39628b3ff57e3f632070581b48a5 (patch)
treebb2da73ce1b559ae6a5468c451e1e19fd4720dac
parent5732bd6864bb23cd731d2175293d9e29a28399f3 (diff)
downloadFreeBSD-src-5f3369bd0eba39628b3ff57e3f632070581b48a5.zip
FreeBSD-src-5f3369bd0eba39628b3ff57e3f632070581b48a5.tar.gz
Don't cleandir also if MODULES_WITH_WORLD.
MFC after: 3 days
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b1d33a5..f875070 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -431,7 +431,7 @@ buildkernel:
${KERNCONFDIR}/${_kernel}
.endif
.if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN)
-.if defined(NO_MODULES) || !exists(${KRNLSRCDIR}/modules)
+.if defined(MODULES_WITH_WORLD) || defined(NO_MODULES) || !exists(${KRNLSRCDIR}/modules)
cd ${KRNLOBJDIR}/${_kernel}; \
${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean
.else
OpenPOWER on IntegriCloud