Add a kernel-toolchain target which only builds the bits required to build

a kernel.  This is essentially the same as the toolchain target, except
that it does not build headers and libraries.

Submitted by:	ru
This commit is contained in:
Dag-Erling Smørgrav 2004-04-13 13:42:01 +00:00
parent b5db19d0d0
commit 43fc676240
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128189
2 changed files with 4 additions and 2 deletions

View File

@ -66,7 +66,7 @@ TGTS= all all-man buildkernel buildworld checkdpadd clean \
cleandepend cleandir depend distribute distributeworld everything \
hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installworld \
libraries lint maninstall \
kernel-toolchain libraries lint maninstall \
obj objlink regress rerelease tags toolchain update \
_worldtmp _legacy _bootstrap-tools _cleanobj _obj \
_build-tools _cross-tools _includes _libraries _depend

View File

@ -343,7 +343,9 @@ WMAKE_TGTS+= _includes _libraries _depend everything
buildworld: ${WMAKE_TGTS}
.ORDER: ${WMAKE_TGTS}
toolchain: ${WMAKE_TGTS:N_depend:Neverything}
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything}
toolchain: ${TOOLCHAIN_TGTS}
kernel-toolchain: ${TOOLCHAIN_TGTS:N_includes:N_libraries}
#
# Use this to add checks to installworld/installkernel targets.