aboutsummaryrefslogtreecommitdiffstats
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 @@
1obj-$(CONFIG_OPROFILE) += oprofile.o
2
3DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
4 oprof.o cpu_buffer.o buffer_sync.o \
5 event_buffer.o oprofile_files.o \
6 oprofilefs.o oprofile_stats.o \
7 timer_int.o )
8
9profdrvr-y := op_model_null.o
10profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o
11
12oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
13