Don't cleandir also if MODULES_WITH_WORLD.
MFC after: 3 days
This commit is contained in:
parent
c82db554a8
commit
b721f69c14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user