From ba50f4125684beb8a3168053e62d19b3cde4f9dc Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 23 Jul 2000 17:38:32 +0000 Subject: Name all kernels 'kernel'. This fixes the incompatible behaviour of the buildkernel and installkernel targets where the kernel was called after the config name. While here, fix the brokenness of the installkernel target. It used to use ${IMAKEENV}, but since that has a very restricted PATH, it couldn't find make(1). Use ${CROSSENV} instead. --- Makefile.inc1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile.inc1') diff --git a/Makefile.inc1 b/Makefile.inc1 index bfadc55..4a0b957 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -403,11 +403,10 @@ buildkernel: ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile .if !defined(NO_KERNELDEPEND) cd ${KRNLOBJDIR}/${_kernel}; \ - ${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \ - ${MAKE} depend + ${WMAKEENV} MACHINE=${MACHINE} KERNEL=kernel ${MAKE} depend .endif cd ${KRNLOBJDIR}/${_kernel}; \ - ${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} ${MAKE} all + ${WMAKEENV} MACHINE=${MACHINE} KERNEL=kernel ${MAKE} all .endfor # @@ -417,8 +416,7 @@ buildkernel: # installkernel: cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ - ${IMAKEENV} MACHINE=${MACHINE} KERNEL=${INSTALLKERNEL} \ - ${MAKE} KERNEL=${INSTALLKERNEL} install + ${CROSSENV} MACHINE=${MACHINE} KERNEL=kernel ${MAKE} install # # update -- cgit v1.1