From fa40de6c54faf29fa8e423fc2db9bdfed9f8c4a1 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Thu, 30 Mar 2000 13:06:53 +0000 Subject: Fix the buildkernel and installkernel targets for the case where KERNEL specifies multiple kernels. PR: 17536 Submitted by: Johan Karlsson --- Makefile.inc1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile.inc1') diff --git a/Makefile.inc1 b/Makefile.inc1 index af783a1..14a23dd 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 -- cgit v1.1