Fix the buildkernel and installkernel targets for the case where
KERNEL specifies multiple kernels. PR: 17536 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
This commit is contained in:
parent
a84e0a1cfe
commit
f67ecfeb4c
@ -384,8 +384,9 @@ buildkernel:
|
||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx \
|
||||
${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile; \
|
||||
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} depend; \
|
||||
${WMAKEENV} MACHINE=${MACHINE} ${MAKE} all
|
||||
${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \
|
||||
${MAKE} depend; \
|
||||
${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} ${MAKE} all
|
||||
.endfor
|
||||
|
||||
#
|
||||
@ -395,7 +396,8 @@ buildkernel:
|
||||
#
|
||||
installkernel:
|
||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${IMAKEENV} MACHINE=${MACHINE} ${MAKE} install
|
||||
${IMAKEENV} MACHINE=${MACHINE} KERNEL=${INSTALLKERNEL} \
|
||||
${MAKE} install
|
||||
|
||||
#
|
||||
# update
|
||||
|
Loading…
Reference in New Issue
Block a user