summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-03-03 08:50:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-03-03 08:50:32 +0000
commit73ba057ccc2345c554ae09d3e0842cdb1e385597 (patch)
treec84cca52fd36369917649ddc9f91a8ecf3a0fe40
parentad59f9d14e6a868b71a0955fc818296756a7870a (diff)
Notes
-rw-r--r--Makefile.inc14
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 56ec42ff8ae4..137c38c23ee2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -494,9 +494,7 @@ buildkernel:
.endif
.if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN)
cd ${KRNLOBJDIR}/${_kernel}; \
- ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} -DNO_MODULES clean
- cd ${KRNLOBJDIR}/${_kernel}; \
- ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} cleandir
+ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} ${CLEANDIR}
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \