summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/oprofile/Makefile')
-rw-r--r--arch/sh/oprofile/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sh/oprofile/Makefile b/arch/sh/oprofile/Makefile
new file mode 100644
index 000000000000..686738d4aa3c
--- /dev/null
+++ b/arch/sh/oprofile/Makefile
@@ -0,0 +1,13 @@
+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 )
+
+profdrvr-y := op_model_null.o
+profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o
+
+oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
+