From 4271dfbcddc3a49354d424518cec0604a2207f1f Mon Sep 17 00:00:00 2001 From: Makoto Matsushita Date: Wed, 14 Nov 2001 16:48:47 +0000 Subject: [PATCH] "make cleandir" before building a kernel and modules. This will hopefully fix the recent 'I cannot compile linux module with buildworld' problem. MFC will come shortly. Submitted by: imura@ryu16.org --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index b3f3f32e1be9..c516f2495fa8 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -432,7 +432,7 @@ buildkernel: .endif .if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN) cd ${KRNLOBJDIR}/${_kernel}; \ - ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean + ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean cleandir .endif cd ${KRNLOBJDIR}/${_kernel}; \ MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \