Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent make rule.

This commit is contained in:
Xiang Xiao 2019-10-29 07:55:02 -06:00 committed by Gregory Nutt
parent 0dde32fb43
commit 7f653a87f7

View File

@ -52,13 +52,13 @@ all: $(BIN)
.PRECIOUS: $(BIN)
define MAKE_template
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
+$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
endef
define SDIR_template
$(1)_$(2):
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
+$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
endef