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:
sheldonh 2000-03-30 13:06:53 +00:00
parent fdac36929a
commit fa40de6c54

View File

@ -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