Commit 51a57b5c authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander Trofimov

run make jobs by cpu count

parent 2b62ce9c
...@@ -168,7 +168,7 @@ define build_proj_tmpl ...@@ -168,7 +168,7 @@ define build_proj_tmpl
PROS += $$(basename $$(value $(1)_PRO)).build PROS += $$(basename $$(value $(1)_PRO)).build
$(1)_MAKE := $$(basename $$(value $(1)_PRO)).build/Makefile $(1)_MAKE := $$(basename $$(value $(1)_PRO)).build/Makefile
$$(value $(1)): $$(value $(1)_MAKE) $$(value $(1)): $$(value $(1)_MAKE)
cd $$(dir $$(value $(1)_MAKE)) && make -j cd $$(dir $$(value $(1)_MAKE)) && make -j $$(grep processor /proc/cpuinfo | wc -l)
endef endef
.PHONY : all bin lib clean .PHONY : all bin lib clean
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment