makefile: add CPUS support to the cs-base target

This commit is contained in:
Matthew Flatt 2018-09-13 08:02:41 -06:00
parent 9f0bc0896f
commit 1b703f8823

View File

@ -253,8 +253,16 @@ cs-in-place:
$(MAKE) cs
cs-base:
if [ "$(CPUS)" = "" ] ; \
then $(MAKE) plain-cs-base ; \
else $(MAKE) cpus-cs-base CPUS="$(CPUS)" ; fi
plain-cs-base:
$(MAKE) cs CS_SETUP_TARGET=nothing-after-base
cpus-cs-base:
$(MAKE) -j $(CPUS) plain-cs-base JOB_OPTIONS="-j $(CPUS)"
cs-as-is:
$(MAKE) cs BASE_TARGET=plain-base CS_SETUP_TARGET=in-place-setup