summaryrefslogtreecommitdiffstats
path: root/drivers/misc/tegra-profiler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/tegra-profiler/Makefile')
-rw-r--r--drivers/misc/tegra-profiler/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/misc/tegra-profiler/Makefile b/drivers/misc/tegra-profiler/Makefile
new file mode 100644
index 000000000..5abff8d1f
--- /dev/null
+++ b/drivers/misc/tegra-profiler/Makefile
@@ -0,0 +1,38 @@
1#
2# drivers/misc/tegra-profiler/Makefile
3#
4# This program is free software; you can redistribute it and/or modify it
5# under the terms and conditions of the GNU General Public License,
6# version 2, as published by the Free Software Foundation.
7#
8# This program is distributed in the hope it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11# more details.
12#
13# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
14#
15
16ccflags-y += -Werror
17
18obj-$(CONFIG_TEGRA_PROFILER) := tegra-profiler.o
19
20tegra-profiler-y := \
21 main.o \
22 hrt.o \
23 comm.o \
24 mmap.o \
25 backtrace.o \
26 debug.o \
27 ma.o \
28 power_clk.o \
29 auth.o \
30 quadd_proc.o \
31 eh_unwind.o \
32 dwarf_unwind.o \
33 disassembler.o
34
35obj-$(CONFIG_CACHE_L2X0) += pl310.o
36
37obj-$(CONFIG_ARM) += armv7_pmu.o
38obj-$(CONFIG_ARM64) += armv8_pmu.o