mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
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.
This commit is contained in:
parent
cf5bdd4446
commit
1bdb3fb97e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168280
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user