summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2001-11-14 16:48:47 +0000
committermatusita <matusita@FreeBSD.org>2001-11-14 16:48:47 +0000
commit1b1306776bf04fdfe45ba959c9e5dc34f57019cf (patch)
treeda96b4e274a39703e8905a887a39c53d8d9e3b20 /Makefile.inc1
parent54ff7ae91a91577b5145b56c276c223a2229d9d3 (diff)
downloadFreeBSD-src-1b1306776bf04fdfe45ba959c9e5dc34f57019cf.zip
FreeBSD-src-1b1306776bf04fdfe45ba959c9e5dc34f57019cf.tar.gz
"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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b3f3f32..c516f24 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 \
OpenPOWER on IntegriCloud