Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd69cc28 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

tools/perf/build: Flip Makefile.parallel and Makefile.perf

To make it more apparent that there is not change in functionality we introduced
Makefile.parallel separately and now flip it with the main Makefile, which
moves into Makefile.perf.

The renames are:

   Makefile.parallel => Makefile
   Makefile          => Makefile.perf

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-igRfuw9ugbnnpixLd6wpptzl@git.kernel.org


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 2cfbe880
Loading
Loading
Loading
Loading
+14 −830

File changed.

Preview size limit exceeded, changes collapsed.

tools/perf/Makefile.parallel

deleted100644 → 0
+0 −26
Original line number Diff line number Diff line
#
# Do a parallel build with multiple jobs, based on the number of CPUs online
# in this system: 'make -j8' on a 8-CPU system, etc.
#
# (To override it, run 'make JOBS=1' and similar.)
#
ifeq ($(JOBS),)
  JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null)
  ifeq ($(JOBS),)
    JOBS := 1
  endif
endif

export JOBS

$(info $(shell printf '# [ perf build: Doing '\''make \033[33m-j'$(JOBS)'\033[m'\'' parallel build. ]\n'))

#
# Needed if no target specified:
#
all:
	@$(MAKE) --no-print-directory -j$(JOBS) $@

%:
	@$(MAKE) --no-print-directory -j$(JOBS) $@
+842 −0

File added.

Preview size limit exceeded, changes collapsed.