]> 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:18 +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 659ffed954d12d9dd4ca9a6e835a68cf89c8dbdd..5dcbf0e52fb4061e9f5dfb065af7df3b7de1275f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1112,3 +1112,6 @@ check-alembic: makeopts
 
 FORCE:
 
+# This only stops targets within the root Makefile from building in parallel.
+.NOTPARALLEL:
+