summaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile.perf
diff options
context:
space:
mode:
authorDavid Carrillo-Cisneros <davidcc@google.com>2017-08-27 09:54:42 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-08-28 21:44:46 +0200
commit70ff7c6caa2f2cee4a7621f5cb3b73b0a38327f1 (patch)
treedb18cef58ba13e5b3bf55c966a292299abcfef15 /tools/perf/Makefile.perf
parentperf tools: Robustify detection of clang binary (diff)
downloadlinux-70ff7c6caa2f2cee4a7621f5cb3b73b0a38327f1.tar.xz
linux-70ff7c6caa2f2cee4a7621f5cb3b73b0a38327f1.zip
perf tools: Pass full path of FEATURES_DUMP
When building with an external FEATURES_DUMP, bpf complains that features dump file is not found. Fix it by passing full file path. Signed-off-by: David Carrillo-Cisneros <davidcc@google.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Paul Turner <pjt@google.com> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20170827075442.108534-7-davidcc@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.perf')
-rw-r--r--tools/perf/Makefile.perf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 58924eb0f40b..a5bf3100f812 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -240,7 +240,7 @@ endif
ifeq ($(FEATURES_DUMP),)
FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP)
else
-FEATURE_DUMP_EXPORT := $(FEATURES_DUMP)
+FEATURE_DUMP_EXPORT := $(realpath $(FEATURES_DUMP))
endif
export prefix bindir sharedir sysconfdir DESTDIR