]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - tools/perf/Makefile
2 # Do a parallel build with multiple jobs, based on the number of CPUs online
3 # in this system: 'make -j8' on a 8-CPU system, etc.
5 # (To override it, run 'make JOBS=1' and similar.)
8 JOBS
:= $(shell grep
-c ^processor
/proc
/cpuinfo
2>/dev
/null
)
17 @printf
' BUILD: Doing '\''make \033[33m-j'$(JOBS
)'\033[m'\'' parallel build\n'
21 @
$(MAKE
) -f Makefile.perf
--no-print-directory
-j
$(JOBS
) $@
25 # Needed if no target specified:
32 # The clean target is not really parallel, don't print the jobs info:
38 # All other targets get passed through: