From 0147d2aa711e2e467912971e1f8f8e69a20e272d Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Sun, 22 Jun 2003 10:01:03 +0000 Subject: [PATCH] Allow installkernel.debug and reinstallkernel.debug. --- Makefile | 9 +++++++-- Makefile.inc1 | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6ba757dcb2f8..839938997ebb 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Makefile.inc1 b/Makefile.inc1 index acdc0ac7e53d..488d8fe7414d 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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