From b721f69c1448d7e817c803dfeb9e33f543abe413 Mon Sep 17 00:00:00 2001 From: Makoto Matsushita Date: Fri, 16 Nov 2001 03:02:34 +0000 Subject: [PATCH] Don't cleandir also if MODULES_WITH_WORLD. MFC after: 3 days --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index b1d33a51124b..f875070ae073 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