summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2016-01-31 17:32:58 +0000
committerian <ian@FreeBSD.org>2016-01-31 17:32:58 +0000
commit9813c740a6fa121e9da1a79356aa50992f82aaa2 (patch)
tree6af33792643405acb3db6b6e79181f6ca9c33a30 /Makefile
parentaac959f2803afefc82f457e5b8b61a12c89b1396 (diff)
downloadFreeBSD-src-9813c740a6fa121e9da1a79356aa50992f82aaa2.zip
FreeBSD-src-9813c740a6fa121e9da1a79356aa50992f82aaa2.tar.gz
Add make universe targets "kernels" and "worlds".
"make kernels" is now shorthand for "make universe -DMAKE_JUST_KERNELS" "make worlds" is now shorthand for "make universe -DMAKE_JUST_WORLDS" The kernels target includes modules (unless you add -DNO_MODULES). And of course you can still add all the other universe options, such as "make kernels TARGETS=arm" to build kernels for all arm arches, or TARGET_ARCH=armv6 to build all armv6 kernels, etc. Reviewed by: imp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index acb061b..7467cd2 100644
--- a/Makefile
+++ b/Makefile
@@ -328,7 +328,7 @@ bmake: .PHONY
${MMAKE} all; \
${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR=
-tinderbox toolchains kernel-toolchains: upgrade_checks
+tinderbox toolchains kernel-toolchains kernels worlds: upgrade_checks
tinderbox:
@cd ${.CURDIR}; ${SUB_MAKE} DOING_TINDERBOX=YES universe
@@ -339,6 +339,12 @@ toolchains:
kernel-toolchains:
@cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=kernel-toolchain universe
+kernels:
+ @cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=buildkernel universe
+
+worlds:
+ @cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=buildworld universe
+
#
# universe
#
OpenPOWER on IntegriCloud