diff options
| author | akolb <none@none> | 2008-02-27 15:35:58 -0800 |
|---|---|---|
| committer | akolb <none@none> | 2008-02-27 15:35:58 -0800 |
| commit | 98157a7002f4f2cf7978f3084ca5577f0a1d72b2 (patch) | |
| tree | b9197a5e5d68f4b223ca5d89fbd61cac7f7ca582 /usr/src/Makefile | |
| parent | 5c69b57a7f8e939d5a14dace8725c53fae6e12d8 (diff) | |
| download | illumos-joyent-98157a7002f4f2cf7978f3084ca5577f0a1d72b2.tar.gz | |
6591892 ipf/netinet/Makefile incorrectly tries to install ip_icmp.h
6591900 Various sun4u platforms try to install sys symlink in usr/share/src/uts in parallel
6592974 Kernel can compile in parallel with libraries
6592975 Sparc platforms can be compiled in parallel
6592976 Intel platforms can be compiled in parallel
6592977 sun4u sub-platforms can be compiled in parallel
6621861 src/tools can be built in parallel
Diffstat (limited to 'usr/src/Makefile')
| -rw-r--r-- | usr/src/Makefile | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile index 4183c65613..8802c07c61 100644 --- a/usr/src/Makefile +++ b/usr/src/Makefile @@ -19,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -51,6 +51,16 @@ HDRSUBDIRS= uts head lib cmd ucbhead # CHKHDRSUBDIRS= head uts lib +# +# Headers that can be built in parallel +# +PARALLEL_HEADERS = sysheaders userheaders libheaders ucbheaders 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 @@ -134,11 +144,17 @@ closedbins: FRC $(ROOTDIRS) (cd $(ROOT); tar xBpf -); \ fi +# +# Declare what parts can be build 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 + $(SUBDIRS) head ucbhead pkgdefs: FRC @cd $@; pwd; $(MAKE) $(TARGET) -.PARALLEL: sysheaders userheaders libheaders ucbheaders cmdheaders - # librpcsvc has a dependency on headers installed by # userheaders, hence the .WAIT before libheaders. sgs: rootdirs .WAIT sysheaders userheaders .WAIT \ |
