summaryrefslogtreecommitdiff
path: root/drivers/misc/tegra-profiler/Makefile
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-03-06 12:59:39 +0400
committerBharat Nihalani <bnihalani@nvidia.com>2014-03-19 21:59:00 -0700
commita4d17db2f23bb9cd542f70a83fce8cb31a4b2565 (patch)
treebdb7e51954c5eb541079894f3c8e0761f35144c1 /drivers/misc/tegra-profiler/Makefile
parentb60ddf14234e49edea5191cdb4899e1c44d3c582 (diff)
misc: tegra-profiler: Add t132 support
Tegra Profiler: add support for t132 Bug 1475730 Change-Id: Id54fe70713c038757e3dfab9fa8b35682f50da73 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/378297 GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/misc/tegra-profiler/Makefile')
-rw-r--r--drivers/misc/tegra-profiler/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/misc/tegra-profiler/Makefile b/drivers/misc/tegra-profiler/Makefile
index 89f5e946b30c..205862d41840 100644
--- a/drivers/misc/tegra-profiler/Makefile
+++ b/drivers/misc/tegra-profiler/Makefile
@@ -13,11 +13,10 @@
# Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
#
-obj-$(CONFIG_TEGRA_PROFILER) += tegra-profiler.o
+obj-$(CONFIG_TEGRA_PROFILER) := tegra-profiler.o
-tegra-profiler-objs := \
+tegra-profiler-y := \
main.o \
- armv7_pmu.o \
hrt.o \
comm.o \
mmap.o \
@@ -29,6 +28,8 @@ tegra-profiler-objs := \
quadd_proc.o \
eh_unwind.o
-ifdef CONFIG_CACHE_L2X0
-tegra-profiler-objs += pl310.o
-endif \ No newline at end of file
+obj-$(CONFIG_CACHE_L2X0) += pl310.o
+
+obj-$(CONFIG_ARM) += armv7_pmu.o
+obj-$(CONFIG_ARM64) += armv8_pmu.o
+