Run "make cleandir" if NO_MODULES are set, or there is no sys/modules
directory. Previous commit breaks buildkernel if NO_MODULES was set. Sorry... Noticed by: mike
This commit is contained in:
parent
b9efeffff0
commit
6a798cfa81
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86387
@ -431,8 +431,13 @@ buildkernel:
|
|||||||
${KERNCONFDIR}/${_kernel}
|
${KERNCONFDIR}/${_kernel}
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN)
|
.if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN)
|
||||||
|
.if defined(NO_MODULES) || !exists(${KRNLSRCDIR}/modules)
|
||||||
|
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
|
${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean
|
||||||
|
.else`
|
||||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean cleandir
|
${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} clean cleandir
|
||||||
|
.endif
|
||||||
.endif
|
.endif
|
||||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \
|
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \
|
||||||
|
Loading…
Reference in New Issue
Block a user