aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
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 /Makefile.inc1
parentad59f9d14e6a868b71a0955fc818296756a7870a (diff)
downloadsrc-73ba057ccc2345c554ae09d3e0842cdb1e385597.tar.gz
src-73ba057ccc2345c554ae09d3e0842cdb1e385597.zip
Catch up with sys/conf/kern.post.mk,v 1.39 -- we can now use
plain ${CLEANDIR} to clean kernel and modules. This has an additional nicety of respecting NOCLEANDIR.
Notes
Notes: svn path=/head/; revision=111795
Diffstat (limited to 'Makefile.inc1')
-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 \