summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2016-02-02 07:58:26 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:30 -0500
commit872676c73573c514d1823509a511225207d3f9f1 (patch)
tree62253293567567073a3f3e67ae0599343854e6e6 /Makefile.inc
parent8429a29a36f36ccfe00dfd30db074974b4370884 (diff)
build: fix parallel builds of applications
When building with more than 1 job, we were getting: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Trying to fix this in the Makefile resulted in dependency issues and unsatisfied dependencies in the compilation and build chain. Change-Id: Ic73d089cf6a0a0d7b6fd83908b8144c34af25582 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 127a79da2..2b04c72ca 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -52,7 +52,7 @@ else
S = -s
endif
-zephyrmake = @$(MAKE) -C $(ZEPHYR_BASE) O=$(1) CFLAGS=$(CFLAGS) \
+zephyrmake = @+$(MAKE) -C $(ZEPHYR_BASE) O=$(1) CFLAGS=$(CFLAGS) \
PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) $(2)
DOTCONFIG = $(O)/.config