summaryrefslogtreecommitdiff
path: root/drivers/misc/tegra-profiler/Makefile
blob: 577920fd018c82d95bc359e8805190bbf64fd2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# drivers/misc/tegra-profiler/Makefile
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
#

ccflags-y += -Werror

obj-$(CONFIG_TEGRA_PROFILER) := tegra-profiler.o

tegra-profiler-y := \
	main.o \
	hrt.o \
	comm.o \
	mmap.o \
	backtrace.o \
	debug.o \
	ma.o \
	power_clk.o \
	auth.o \
	quadd_proc.o \
	eh_unwind.o \
	dwarf_unwind.o

obj-$(CONFIG_CACHE_L2X0) += pl310.o

obj-$(CONFIG_ARM) += armv7_pmu.o
obj-$(CONFIG_ARM64) += armv8_pmu.o