Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 17:32:59 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295099 - head
Message-ID:  <201601311732.u0VHWxlR036692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Jan 31 17:32:58 2016
New Revision: 295099
URL: https://svnweb.freebsd.org/changeset/base/295099

Log:
  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

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Sun Jan 31 17:32:20 2016	(r295098)
+++ head/Makefile	Sun Jan 31 17:32:58 2016	(r295099)
@@ -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
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601311732.u0VHWxlR036692>