diff options
author | matusita <matusita@FreeBSD.org> | 2001-11-16 03:02:34 +0000 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2001-11-16 03:02:34 +0000 |
commit | 5f3369bd0eba39628b3ff57e3f632070581b48a5 (patch) | |
tree | bb2da73ce1b559ae6a5468c451e1e19fd4720dac /Makefile.inc1 | |
parent | 5732bd6864bb23cd731d2175293d9e29a28399f3 (diff) | |
download | FreeBSD-src-5f3369bd0eba39628b3ff57e3f632070581b48a5.zip FreeBSD-src-5f3369bd0eba39628b3ff57e3f632070581b48a5.tar.gz |
Don't cleandir also if MODULES_WITH_WORLD.
MFC after: 3 days
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index b1d33a5..f875070 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -431,7 +431,7 @@ buildkernel: ${KERNCONFDIR}/${_kernel} .endif .if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN) -.if defined(NO_MODULES) || !exists(${KRNLSRCDIR}/modules) +.if defined(MODULES_WITH_WORLD) || defined(NO_MODULES) || !exists(${KRNLSRCDIR}/modules) cd ${KRNLOBJDIR}/${_kernel}; \ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean .else |