summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-04-02 21:32:44 +0000
committermarcel <marcel@FreeBSD.org>2007-04-02 21:32:44 +0000
commit5f0f57215ba83757397d27e8dcc686612e48e921 (patch)
tree4b6351860735419c17e46a37fd4fb5fc608b0652
parentb160409667b28fca261622c05ecfce3261756602 (diff)
downloadFreeBSD-src-5f0f57215ba83757397d27e8dcc686612e48e921.zip
FreeBSD-src-5f0f57215ba83757397d27e8dcc686612e48e921.tar.gz
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.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da25222..8a1ecab 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
OpenPOWER on IntegriCloud