Allow installkernel.debug and reinstallkernel.debug.

This commit is contained in:
Hidetoshi Shimokawa 2003-06-22 10:01:03 +00:00
parent 3b6d965263
commit 0147d2aa71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116679
2 changed files with 9 additions and 4 deletions

View file

@ -11,7 +11,9 @@
# world - buildworld + installworld.
# buildkernel - Rebuild the kernel and the kernel-modules.
# installkernel - Install the kernel and the kernel-modules.
# installkernel.debug
# reinstallkernel - Reinstall the kernel and the kernel-modules.
# reinstallkernel.debug
# kernel - buildkernel + installkernel.
# update - Convenient way to update your source tree (cvs).
# most - Build user commands, no libraries or include files.
@ -60,8 +62,9 @@
#
TGTS= all all-man buildkernel buildworld checkdpadd clean \
cleandepend cleandir depend distribute distributeworld everything \
hierarchy install installcheck installkernel \
reinstallkernel installmost installworld libraries lint maninstall \
hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installmost installworld \
libraries lint maninstall \
mk most obj objlink regress rerelease tags update
BITGTS= files includes
@ -71,7 +74,9 @@ BITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/}
.ORDER: buildworld distributeworld
.ORDER: buildworld buildkernel
.ORDER: buildkernel installkernel
.ORDER: buildkernel installkernel.debug
.ORDER: buildkernel reinstallkernel
.ORDER: buildkernel reinstallkernel.debug
PATH= /sbin:/bin:/usr/sbin:/usr/bin
MAKEOBJDIRPREFIX?= /usr/obj

View file

@ -538,14 +538,14 @@ buildkernel:
#
# Install the kernel defined by INSTALLKERNEL
#
installkernel reinstallkernel:
installkernel reinstallkernel installkernel.debug reinstallkernel.debug:
.if empty(INSTALLKERNEL)
@echo "ERROR: No kernel \"${KERNCONF}\" to install."
@false
.endif
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
${CROSSENV} PATH=${TMPPATH} \
${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel$//}
${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
#
# update