Merge tag 'fuse-update-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[platform/kernel/linux-starfive.git] / tools / perf / Build
1 perf-y += builtin-bench.o
2 perf-y += builtin-annotate.o
3 perf-y += builtin-config.o
4 perf-y += builtin-diff.o
5 perf-y += builtin-evlist.o
6 perf-y += builtin-ftrace.o
7 perf-y += builtin-help.o
8 perf-y += builtin-buildid-list.o
9 perf-y += builtin-buildid-cache.o
10 perf-y += builtin-kallsyms.o
11 perf-y += builtin-list.o
12 perf-y += builtin-record.o
13 perf-y += builtin-report.o
14 perf-y += builtin-stat.o
15 perf-y += builtin-top.o
16 perf-y += builtin-script.o
17 perf-y += builtin-kvm.o
18 perf-y += builtin-inject.o
19 perf-y += builtin-mem.o
20 perf-y += builtin-data.o
21 perf-y += builtin-version.o
22 perf-y += builtin-c2c.o
23 perf-y += builtin-daemon.o
24
25 perf-$(CONFIG_LIBTRACEEVENT) += builtin-kmem.o
26 perf-$(CONFIG_LIBTRACEEVENT) += builtin-kwork.o
27 perf-$(CONFIG_LIBTRACEEVENT) += builtin-lock.o
28 perf-$(CONFIG_LIBTRACEEVENT) += builtin-sched.o
29 perf-$(CONFIG_LIBTRACEEVENT) += builtin-timechart.o
30
31 ifeq ($(CONFIG_LIBTRACEEVENT),y)
32   perf-$(CONFIG_TRACE) += builtin-trace.o
33   perf-$(CONFIG_TRACE) += trace/beauty/
34 endif
35
36 perf-$(CONFIG_LIBELF) += builtin-probe.o
37
38 perf-y += bench/
39 perf-y += tests/
40
41 perf-y += perf.o
42
43 paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
44 paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
45 paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
46
47 CFLAGS_builtin-help.o      += $(paths)
48 CFLAGS_builtin-timechart.o += $(paths)
49 CFLAGS_perf.o              += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"       \
50                               -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))"   \
51                               -DPREFIX="BUILD_STR($(prefix_SQ))"
52 CFLAGS_builtin-trace.o     += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
53 CFLAGS_builtin-report.o    += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
54 CFLAGS_builtin-report.o    += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
55
56 perf-y += util/
57 perf-y += arch/
58 perf-y += ui/
59 perf-y += scripts/
60
61 gtk-y += ui/gtk/