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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86449

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