diff options
author | peter <peter@FreeBSD.org> | 2001-01-22 23:10:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-22 23:10:01 +0000 |
commit | 9f847f13c70ea41e45a94abebc20a8fa14d8edb8 (patch) | |
tree | 6f5b26620471ce8a246cb5c3b991f314d3461afe /Makefile.inc1 | |
parent | 2d9565a950048a97accfc62a79fb265b17e59c03 (diff) | |
download | FreeBSD-src-9f847f13c70ea41e45a94abebc20a8fa14d8edb8.zip FreeBSD-src-9f847f13c70ea41e45a94abebc20a8fa14d8edb8.tar.gz |
Use 'make clean' instead of 'config -r', and only if the 'depend' step has
been skipped. We went to a lot of trouble to make the 'blow away' stage
unneeded, and it has not been needed for quite some time.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index ff9ef12..4fce5ed 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -371,10 +371,6 @@ KRNLSRCDIR= ${.CURDIR}/sys KRNLCONFDIR= ${KRNLSRCDIR}/${MACHINE}/conf KRNLOBJDIR= ${OBJTREE}${KRNLSRCDIR} -.if !defined(NOCLEAN) -CONFIGARGS+= -r -.endif - BUILDKERNELS= INSTALLKERNEL= .for _kernel in ${KERNCONF} @@ -408,6 +404,10 @@ buildkernel: PATH=${TMPPATH} \ config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} ${_kernel} .endif +.if !defined(NOCLEAN) && defined(NO_KERNELDEPEND) + cd ${KRNLOBJDIR}/${_kernel}; \ + ${KMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=${INSTKERNNAME} clean +.endif cd ${KRNLOBJDIR}/${_kernel}; \ MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \ ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/aicasm/Makefile |