From 1bdb3fb97eb936148ebd3be52850c09ae7f72260 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Mon, 2 Apr 2007 21:32:44 +0000 Subject: 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. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3