aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/cs-etm-decoder/Build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/cs-etm-decoder/Build')
-rw-r--r--tools/perf/util/cs-etm-decoder/Build7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/cs-etm-decoder/Build b/tools/perf/util/cs-etm-decoder/Build
new file mode 100644
index 000000000000..d4896fec940c
--- /dev/null
+++ b/tools/perf/util/cs-etm-decoder/Build
@@ -0,0 +1,7 @@
+ifeq ($(CSTRACE_PATH),)
+libperf-$(CONFIG_AUXTRACE) += cs-etm-decoder-stub.o
+else
+CFLAGS_cs-etm-decoder.o += -I$(CSTRACE_PATH)/include
+libperf-$(CONFIG_AUXTRACE) += cs-etm-decoder.o
+endif
+