aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2007-04-02 21:32:44 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2007-04-02 21:32:44 +0000
commit1bdb3fb97eb936148ebd3be52850c09ae7f72260 (patch)
tree4b6351860735419c17e46a37fd4fb5fc608b0652 /Makefile
parentcf5bdd4446135319cf5a5e1fe2e9770f0f623324 (diff)
downloadsrc-1bdb3fb97eb936148ebd3be52850c09ae7f72260.tar.gz
src-1bdb3fb97eb936148ebd3be52850c09ae7f72260.zip
Introduce a variable TARGETS that can be set on the make command line
and that controls which platforms are being built as part of a "make universe". By default TARGETS is set to the 8 platforms currently being built. This variable is useful for running or re-running a "make universe" with only a selected set of platforms. This makes the universe target slightly more useful in cases the universe is limited to a developer's scope or objectives. For example, when a universe failed for a particular platform and fixes need to be tested for that particular platform then a developer can restart the universe for only that platform, even if the initial universe is still building other platforms.
Notes
Notes: svn path=/head/; revision=168280
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da25222c45c6..8a1ecab0c306 100644
--- a/Makefile
+++ b/Makefile
@@ -261,12 +261,14 @@ make: .PHONY
# existing system is.
#
.if make(universe)
+TARGETS?=amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v
+
universe: universe_prologue
universe_prologue:
@echo "--------------------------------------------------------------"
@echo ">>> make universe started on ${STARTTIME}"
@echo "--------------------------------------------------------------"
-.for target in amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v
+.for target in ${TARGETS}
KERNCONFS!= cd ${.CURDIR}/sys/${target}/conf && \
find [A-Z]*[A-Z] -type f -maxdepth 0 \
! -name DEFAULTS ! -name LINT