]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Build System: Disable parallel make in the root Makefile.
authorCorey Farrell <git@cfware.com>
Thu, 9 Nov 2017 19:24:46 +0000 (14:24 -0500)
committerCorey Farrell <git@cfware.com>
Thu, 9 Nov 2017 19:30:06 +0000 (14:30 -0500)
This ensures that the root Makefile runs only a single target at a time.
SUBMAKE will still honor requested parallelism, so 'make -j8' will build
one directory at a time but allow 8 jobs at once when building a sub
directory.

This will fix some display glitches related to rebuild of XML
documentation.  It will also prevent some edge case errors where
bundled pjproject needs to be rebuild before other parts of Asterisk.

Change-Id: I4f2ec6fbbec1ada0ccb1109a28ea303524239b1e

Makefile

index 8048f5915aa829e250c5e9fd40d76393de4975b1..e37dd90fd26f3e052b06cd3b8b28711766b660cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1111,3 +1111,6 @@ check-alembic: makeopts
 
 FORCE:
 
+# This only stops targets within the root Makefile from building in parallel.
+.NOTPARALLEL:
+