summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-08-03 05:52:22 +0000
committermarcel <marcel@FreeBSD.org>2000-08-03 05:52:22 +0000
commitf7fe974d768eadb0ea374cb31c3d3b0ac521861a (patch)
tree5739a2d073dd8a6fe689ca74ae81d0909c1c3dc9 /Makefile.inc1
parent509680f8f340fabcbddfd42d820a8a1e83d5affd (diff)
downloadFreeBSD-src-f7fe974d768eadb0ea374cb31c3d3b0ac521861a.zip
FreeBSD-src-f7fe974d768eadb0ea374cb31c3d3b0ac521861a.tar.gz
Fix buildkernel and installkernel when KERNEL is defined in
/etc/make.conf. PR: 20325 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index bffe5b8..a9ecb86 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -403,10 +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} ${MAKE} KERNEL=kernel depend
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
- ${WMAKEENV} MACHINE=${MACHINE} KERNEL=kernel ${MAKE} all
+ ${WMAKEENV} MACHINE=${MACHINE} ${MAKE} KERNEL=kernel all
.endfor
#
@@ -416,7 +416,7 @@ buildkernel:
#
installkernel:
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
- ${CROSSENV} MACHINE=${MACHINE} KERNEL=kernel ${MAKE} install
+ ${CROSSENV} MACHINE=${MACHINE} ${MAKE} KERNEL=kernel install
#
# update
OpenPOWER on IntegriCloud