You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/08/15 08:12:38 UTC

[incubator-nuttx-apps] branch master updated: quickjs/Makefile: pass jobserver status to submake

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

pkarashchenko 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 a3ccf5920 quickjs/Makefile: pass jobserver status to submake
a3ccf5920 is described below

commit a3ccf59204c0716be18b1d2d43ad417ce5fd1c06
Author: Peter Bee <bi...@xiaomi.com>
AuthorDate: Mon Aug 15 13:44:58 2022 +0800

    quickjs/Makefile: pass jobserver status to submake
    
    N/A
    
    Use +make or $(MAKE) instead of make -C
    
    Signed-off-by: Peter Bee <bi...@xiaomi.com>
---
 interpreters/quickjs/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/interpreters/quickjs/Makefile b/interpreters/quickjs/Makefile
index 6b1f89a90..d4b8ac4c3 100644
--- a/interpreters/quickjs/Makefile
+++ b/interpreters/quickjs/Makefile
@@ -78,13 +78,13 @@ $(QUICKJS_UNPACK)/.patch: $(QUICKJS_UNPACK)
 	$(Q) touch $(QUICKJS_UNPACK)/.patch
 
 build_host: $(QUICKJS_UNPACK)/.patch
-	make -C $(QUICKJS_UNPACK) \
+	$(MAKE) -C $(QUICKJS_UNPACK) \
 		CONFIG_BIGNUM=$(CONFIG_INTERPRETERS_QUICKJS_BIGNUM)
 
 context:: build_host
 
 clean::
-	$(Q) test ! -d $(QUICKJS_UNPACK) || make -C $(QUICKJS_UNPACK) clean
+	$(Q) test ! -d $(QUICKJS_UNPACK) || $(MAKE) -C $(QUICKJS_UNPACK) clean
 
 distclean::
 	$(call DELDIR, $(QUICKJS_UNPACK))