Don't cleandir also if MODULES_WITH_WORLD.

MFC after:	3 days
This commit is contained in:
Makoto Matsushita 2001-11-16 03:02:34 +00:00
parent c82db554a8
commit b721f69c14

View File

@ -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