summaryrefslogtreecommitdiff
path: root/tools/perf/Build
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-07-14 16:25:35 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-18 23:13:52 -0300
commit5ca55ab6def81f8cd19a8b88f2ba4abe1aed34cc (patch)
treec3537a9f03fa0df3b80026c204e3bee95f987f63 /tools/perf/Build
parent274e86fdd379992f90f37fab8df3f640c50fd2cb (diff)
downloadlwn-5ca55ab6def81f8cd19a8b88f2ba4abe1aed34cc.tar.gz
lwn-5ca55ab6def81f8cd19a8b88f2ba4abe1aed34cc.zip
perf trace: Only build tools/perf/trace/beauty/ when building 'perf trace'
As it calls functions in builtin-trace.c. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-bt3lhw1rvy3jzbsp2fvvegb0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Build')
-rw-r--r--tools/perf/Build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Build b/tools/perf/Build
index bd8eeb60533c..b48ca40fccf9 100644
--- a/tools/perf/Build
+++ b/tools/perf/Build
@@ -50,6 +50,6 @@ libperf-y += util/
libperf-y += arch/
libperf-y += ui/
libperf-y += scripts/
-libperf-y += trace/beauty/
+libperf-$(CONFIG_AUDIT) += trace/beauty/
gtk-y += ui/gtk/