summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-03 08:50:32 +0000
committerru <ru@FreeBSD.org>2003-03-03 08:50:32 +0000
commit0968a2b9642c2cbd0a4a82a8fcd1e16cd8f356de (patch)
treec84cca52fd36369917649ddc9f91a8ecf3a0fe40 /Makefile.inc1
parent3b02e497a084a354ac29a131cebbc7266a73d7ad (diff)
downloadFreeBSD-src-0968a2b9642c2cbd0a4a82a8fcd1e16cd8f356de.zip
FreeBSD-src-0968a2b9642c2cbd0a4a82a8fcd1e16cd8f356de.tar.gz
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.
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 56ec42f..137c38c 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 \
OpenPOWER on IntegriCloud