summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-04-13 13:42:01 +0000
committerdes <des@FreeBSD.org>2004-04-13 13:42:01 +0000
commitd6c0324b5f2ebd55a4902886738a17662e3d27d9 (patch)
tree05acf237b89026d105352bfe6d8447e9bbe7afaf
parent0807140c6bebc8af28506b691b50a039337ac94e (diff)
downloadFreeBSD-src-d6c0324b5f2ebd55a4902886738a17662e3d27d9.zip
FreeBSD-src-d6c0324b5f2ebd55a4902886738a17662e3d27d9.tar.gz
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
-rw-r--r--Makefile2
-rw-r--r--Makefile.inc14
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 540d183..76e3180 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/Makefile.inc1 b/Makefile.inc1
index 6aca034..90719e0 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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.
OpenPOWER on IntegriCloud