Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools: Move utilities.mak from perf to tools/scripts/

As it is used by several other tools, better move it outside tools/perf.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-34s9kue3xq9w5mijdmfrfx8s@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+5 -5
+1 -1
tools/lib/api/Makefile
··· 1 1 include ../../scripts/Makefile.include 2 - include ../../perf/config/utilities.mak # QUIET_CLEAN 2 + include ../../scripts/utilities.mak # QUIET_CLEAN 3 3 4 4 ifeq ($(srctree),) 5 5 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
+1 -1
tools/lib/subcmd/Makefile
··· 1 1 include ../../scripts/Makefile.include 2 - include ../../perf/config/utilities.mak # QUIET_CLEAN 2 + include ../../scripts/utilities.mak # QUIET_CLEAN 3 3 4 4 ifeq ($(srctree),) 5 5 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
+1 -1
tools/perf/Documentation/Makefile
··· 1 1 include ../../scripts/Makefile.include 2 - include ../config/utilities.mak 2 + include ../../scripts/utilities.mak 3 3 4 4 MAN1_TXT= \ 5 5 $(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
+1 -1
tools/perf/Makefile.perf
··· 3 3 # The default target of this Makefile is... 4 4 all: 5 5 6 - include config/utilities.mak 6 + include ../scripts/utilities.mak 7 7 8 8 # Define V to have a more verbose compile. 9 9 #
+1 -1
tools/perf/config/Makefile
··· 109 109 CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET 110 110 endif 111 111 112 - include $(src-perf)/config/utilities.mak 112 + include $(srctree)/tools/scripts/utilities.mak 113 113 114 114 ifeq ($(call get-executable,$(FLEX)),) 115 115 dummy := $(error Error: $(FLEX) is missing on this system, please install it)
tools/perf/config/utilities.mak tools/scripts/utilities.mak