summaryrefslogtreecommitdiffstats
path: root/arch/s390/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/oprofile/Makefile')
-rw-r--r--arch/s390/oprofile/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/s390/oprofile/Makefile b/arch/s390/oprofile/Makefile
new file mode 100644
index 00000000000..524c4b61582
--- /dev/null
+++ b/arch/s390/oprofile/Makefile
@@ -0,0 +1,10 @@
+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 backtrace.o
+oprofile-$(CONFIG_64BIT) += hwsampler.o