tegrakernel/kernel/nvidia/drivers/misc/tegra-profiler/Makefile

39 lines
946 B
Makefile

#
# 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 \
disassembler.o \
uncore_events.o
obj-$(CONFIG_ARM) += armv7_pmu.o
obj-$(CONFIG_ARM64) += armv8_pmu.o
obj-$(CONFIG_ARCH_TEGRA_19x_SOC) += carmel_pmu.o