summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 5 insertions, 3 deletions
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
OpenPOWER on IntegriCloud