summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m32r/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m32r/oprofile/Makefile')
-rw-r--r--kernel/arch/m32r/oprofile/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/arch/m32r/oprofile/Makefile b/kernel/arch/m32r/oprofile/Makefile
new file mode 100644
index 000000000..06e7c81ea
--- /dev/null
+++ b/kernel/arch/m32r/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) init.o