This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 02dbab7  Makefile: Fix warning: jobserver unavailable: using -j1. Add 
'+' to parent make rule.
02dbab7 is described below

commit 02dbab767991d389ef4ad33db6f92444c22d2cd9
Author: liuhaitao <[email protected]>
AuthorDate: Wed Jan 15 15:42:29 2020 +0800

    Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent 
make rule.
    
    Change-Id: I73d156f55bc82778c64defe5a8dd84bb478c9008
    Signed-off-by: liuhaitao <[email protected]>
---
 Directory.mk                            | 2 +-
 examples/elf/tests/Makefile             | 2 +-
 examples/module/drivers/Makefile        | 2 +-
 examples/nxflat/tests/Makefile          | 2 +-
 examples/sotest/lib/Makefile            | 2 +-
 examples/thttpd/Makefile                | 2 +-
 examples/thttpd/content/Makefile.nxflat | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Directory.mk b/Directory.mk
index de03a70..31cf4f2 100644
--- a/Directory.mk
+++ b/Directory.mk
@@ -46,7 +46,7 @@ all: nothing
 
 define SDIR_template
 $(1)_$(2):
-       $(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
BINDIR="$(BINDIR)"
+       +$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
BINDIR="$(BINDIR)"
 endef
 
 $(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))
diff --git a/examples/elf/tests/Makefile b/examples/elf/tests/Makefile
index 0c51d7c..8d87023 100644
--- a/examples/elf/tests/Makefile
+++ b/examples/elf/tests/Makefile
@@ -77,7 +77,7 @@ endif
 
 define DIR_template
 $(1)_$(2):
-       $(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSIMG_DIR="$(FSIMG_DIR)" CROSSDEV=$(CROSSDEV)
+       +$(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSIMG_DIR="$(FSIMG_DIR)" CROSSDEV=$(CROSSDEV)
 endef
 
 all: $(FSIMG_HDR) $(DIRLIST_HDR) $(SYMTAB_SRC)
diff --git a/examples/module/drivers/Makefile b/examples/module/drivers/Makefile
index a5c203a..45a7b11 100644
--- a/examples/module/drivers/Makefile
+++ b/examples/module/drivers/Makefile
@@ -59,7 +59,7 @@ endif
 
 define DIR_template
 $(1)_$(2):
-       $(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSROOT_DIR="$(FSROOT_DIR)" CROSSDEV=$(CROSSDEV)
+       +$(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSROOT_DIR="$(FSROOT_DIR)" CROSSDEV=$(CROSSDEV)
 endef
 
 all: $(FSIMG_HDR) $(DIRLIST_HDR) $(SYMTAB_SRC) $(PASS1_SYMTAB)
diff --git a/examples/nxflat/tests/Makefile b/examples/nxflat/tests/Makefile
index 265ac27..39bd047 100644
--- a/examples/nxflat/tests/Makefile
+++ b/examples/nxflat/tests/Makefile
@@ -55,7 +55,7 @@ SYMTAB                = $(TESTS_DIR)/symtab.h
 
 define DIR_template
 $(1)_$(2):
-       @$(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
ROMFS_DIR="$(ROMFS_DIR)" CROSSDEV=$(CROSSDEV)
+       +$(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
ROMFS_DIR="$(ROMFS_DIR)" CROSSDEV=$(CROSSDEV)
 endef
 
 all: $(ROMFS_HDR) $(ROMFS_DIRLIST) $(SYMTAB)
diff --git a/examples/sotest/lib/Makefile b/examples/sotest/lib/Makefile
index 4760920..0b69332 100644
--- a/examples/sotest/lib/Makefile
+++ b/examples/sotest/lib/Makefile
@@ -53,7 +53,7 @@ SYMTAB_SRC = $(LIB_DIR)/sot_symtab.c
 
 define DIR_template
 $(1)_$(2):
-       $(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSROOT_DIR="$(FSROOT_DIR)" CROSSDEV=$(CROSSDEV)
+       +$(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
FSROOT_DIR="$(FSROOT_DIR)" CROSSDEV=$(CROSSDEV)
 endef
 
 all: $(ROMFS_HDR) $(DIRLIST_HDR) $(SYMTAB_SRC)
diff --git a/examples/thttpd/Makefile b/examples/thttpd/Makefile
index dc31e07..74e0072 100644
--- a/examples/thttpd/Makefile
+++ b/examples/thttpd/Makefile
@@ -63,6 +63,6 @@ depend::
        @$(CONTENT_MAKE) depend TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
CROSSDEV=$(CROSSDEV)
 
 clean::
-       @$(CONTENT_MAKE) clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
CROSSDEV=$(CROSSDEV)
+       +$(Q) $(CONTENT_MAKE) clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
CROSSDEV=$(CROSSDEV)
 
 include $(APPDIR)/Application.mk
diff --git a/examples/thttpd/content/Makefile.nxflat 
b/examples/thttpd/content/Makefile.nxflat
index 3f24447..513a4ca 100644
--- a/examples/thttpd/content/Makefile.nxflat
+++ b/examples/thttpd/content/Makefile.nxflat
@@ -46,7 +46,7 @@ SYMTAB = $(CONTENT_DIR)/symtab.h
 
 define DIR_template
 $(1)_$(2):
-       @$(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
CROSSDEV=$(CROSSDEV) CGI_DIR="$(ROMFSCGI_DIR)"
+       +$(Q) $(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" 
CROSSDEV=$(CROSSDEV) CGI_DIR="$(ROMFSCGI_DIR)"
 endef
 
 all: $(ROMFS_HDR) $(SYMTAB)

Reply via email to