blob: cedbbeced632be4a98d8a8e3cc3f8b1437fa4f13 [file] [log] [blame]
Michael Ellermanba55bd72009-06-09 20:48:51 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
Anton Blanchard1fbe9cf2012-11-26 17:41:08 +00003ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
Anton Blanchard8555a002006-06-10 20:23:54 +10004
Stephen Rothwelld9e5b832005-09-19 23:15:51 +10005obj-$(CONFIG_OPROFILE) += oprofile.o
6
7DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \
8 oprof.o cpu_buffer.o buffer_sync.o \
9 event_buffer.o oprofile_files.o \
10 oprofilefs.o oprofile_stats.o \
11 timer_int.o )
12
Brian Rogan6c6bd752006-03-27 11:57:01 +110013oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
Bob Nelson14748552007-07-20 21:39:53 +020014oprofile-$(CONFIG_OPROFILE_CELL) += op_model_cell.o \
15 cell/spu_profiler.o cell/vma_map.o \
16 cell/spu_task_sync.o
Michael Ellerman086dddc2014-07-10 12:29:23 +100017oprofile-$(CONFIG_PPC_BOOK3S_64) += op_model_power4.o op_model_pa6t.o
Andy Fleming39aef682008-02-04 18:27:55 -060018oprofile-$(CONFIG_FSL_EMB_PERFMON) += op_model_fsl_emb.o
Andy Flemingdd6c89f2006-10-27 15:06:32 -050019oprofile-$(CONFIG_6xx) += op_model_7450.o