summaryrefslogtreecommitdiffstats
path: root/arch/arc/oprofile/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-22 17:02:38 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:16:00 +0530
commit769bc1fd7b8591a312d4c5c8834bc6510272938e (patch)
tree72ce15497ddabc58e492a0f489d1a6a08639f06b /arch/arc/oprofile/Makefile
parent01b812bcce4920d9587fab7a964493d368be1522 (diff)
ARC: OProfile support
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Robert Richter <rric@kernel.org> Cc: oprofile-list@lists.sf.net Reviewed-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/arc/oprofile/Makefile')
-rw-r--r--arch/arc/oprofile/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arc/oprofile/Makefile b/arch/arc/oprofile/Makefile
new file mode 100644
index 000000000000..ce417a6e70b8
--- /dev/null
+++ b/arch/arc/oprofile/Makefile
@@ -0,0 +1,9 @@
+obj-$(CONFIG_OPROFILE) += oprofile.o
+
+DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
+ oprof.o cpu_buffer.o buffer_sync.o \
+ event_buffer.o oprofile_files.o \
+ oprofilefs.o oprofile_stats.o \
+ timer_int.o )
+
+oprofile-y := $(DRIVER_OBJS) common.o