mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
include ../../scripts/Makefile.include
|
include ../../scripts/Makefile.include
|
||||||
include ../../perf/config/utilities.mak # QUIET_CLEAN
|
include ../../scripts/utilities.mak # QUIET_CLEAN
|
||||||
|
|
||||||
ifeq ($(srctree),)
|
ifeq ($(srctree),)
|
||||||
srctree := $(patsubst %/,%,$(dir $(shell pwd)))
|
srctree := $(patsubst %/,%,$(dir $(shell pwd)))
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
include ../../scripts/Makefile.include
|
include ../../scripts/Makefile.include
|
||||||
include ../../perf/config/utilities.mak # QUIET_CLEAN
|
include ../../scripts/utilities.mak # QUIET_CLEAN
|
||||||
|
|
||||||
ifeq ($(srctree),)
|
ifeq ($(srctree),)
|
||||||
srctree := $(patsubst %/,%,$(dir $(shell pwd)))
|
srctree := $(patsubst %/,%,$(dir $(shell pwd)))
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
include ../../scripts/Makefile.include
|
include ../../scripts/Makefile.include
|
||||||
include ../config/utilities.mak
|
include ../../scripts/utilities.mak
|
||||||
|
|
||||||
MAN1_TXT= \
|
MAN1_TXT= \
|
||||||
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
|
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
|
||||||
|
@@ -3,7 +3,7 @@ include ../scripts/Makefile.include
|
|||||||
# The default target of this Makefile is...
|
# The default target of this Makefile is...
|
||||||
all:
|
all:
|
||||||
|
|
||||||
include config/utilities.mak
|
include ../scripts/utilities.mak
|
||||||
|
|
||||||
# Define V to have a more verbose compile.
|
# Define V to have a more verbose compile.
|
||||||
#
|
#
|
||||||
|
@@ -109,7 +109,7 @@ ifdef PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
|
|||||||
CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
|
CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(src-perf)/config/utilities.mak
|
include $(srctree)/tools/scripts/utilities.mak
|
||||||
|
|
||||||
ifeq ($(call get-executable,$(FLEX)),)
|
ifeq ($(call get-executable,$(FLEX)),)
|
||||||
dummy := $(error Error: $(FLEX) is missing on this system, please install it)
|
dummy := $(error Error: $(FLEX) is missing on this system, please install it)
|
||||||
|
Reference in New Issue
Block a user