summaryrefslogtreecommitdiffstats
path: root/arch/sh64/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh64/oprofile/Makefile')
-rw-r--r--arch/sh64/oprofile/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh64/oprofile/Makefile b/arch/sh64/oprofile/Makefile
new file mode 100644
index 00000000000..11a451f6a9c
--- /dev/null
+++ b/arch/sh64/oprofile/Makefile
@@ -0,0 +1,12 @@
+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
+
+oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
+