Mercurial > unleashed > wips
changeset 20270:a730744ab289
dmake toplevel: build boot and test in parallel with other stuff
author | Lauri Tirkkonen <lotheac@iki.fi> |
---|---|
date | Wed, 09 Jan 2019 21:29:47 +0000 |
parents | 68509da57c23 |
children | a54949958896 |
files | usr/src/Makefile |
diffstat | 1 files changed, 5 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/Makefile Wed Jan 09 21:13:28 2019 +0000 +++ b/usr/src/Makefile Wed Jan 09 21:29:47 2019 +0000 @@ -56,16 +56,6 @@ # CHKHDRSUBDIRS= uts lib -# -# Headers that can be built in parallel -# -PARALLEL_HEADERS = sysheaders libheaders cmdheaders - -# -# Directories that can be built in parallel -# -PARALLEL_DIRS = uts lib - # The check target also causes smf(5) service manifests to be validated. CHKMFSTSUBDIRS= cmd @@ -130,11 +120,12 @@ # # Declare what parts can be built in parallel -# DUMMY at the end is used in case macro expansion produces an empty string to -# prevent everything going in parallel # -.PARALLEL: $(PARALLEL_HEADERS) DUMMY -.PARALLEL: $(PARALLEL_DIRS) DUMMY +.PARALLEL: sysheaders libheaders cmdheaders +.PARALLEL: uts lib +.PARALLEL: boot cmd test + +boot cmd test: lib $(SUBDIRS) pkg: FRC @cd $@; pwd; $(MAKE) $(TARGET)