quickjs/Makefile: pass jobserver status to submake

N/A

Use +make or $(MAKE) instead of make -C

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee 2022-08-15 13:44:58 +08:00 committed by Petro Karashchenko
parent 6895da98e3
commit a3ccf59204

View File

@ -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))