aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/oprofile/Makefile')
-rw-r--r--arch/ppc/oprofile/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/ppc/oprofile/Makefile b/arch/ppc/oprofile/Makefile
new file mode 100644
index 00000000000..e2218d32a4e
--- /dev/null
+++ b/arch/ppc/oprofile/Makefile
@@ -0,0 +1,14 @@
+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) common.o
+
+ifeq ($(CONFIG_FSL_BOOKE),y)
+ oprofile-y += op_model_fsl_booke.o
+endif
+