Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 1 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
| 2 | |
Anton Blanchard | 1fbe9cf | 2012-11-26 17:41:08 +0000 | [diff] [blame] | 3 | ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) |
Anton Blanchard | 8555a00 | 2006-06-10 20:23:54 +1000 | [diff] [blame] | 4 | |
Stephen Rothwell | d9e5b83 | 2005-09-19 23:15:51 +1000 | [diff] [blame] | 5 | obj-$(CONFIG_OPROFILE) += oprofile.o |
| 6 | |
| 7 | DRIVER_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 Rogan | 6c6bd75 | 2006-03-27 11:57:01 +1100 | [diff] [blame] | 13 | oprofile-y := $(DRIVER_OBJS) common.o backtrace.o |
Bob Nelson | 1474855 | 2007-07-20 21:39:53 +0200 | [diff] [blame] | 14 | oprofile-$(CONFIG_OPROFILE_CELL) += op_model_cell.o \ |
| 15 | cell/spu_profiler.o cell/vma_map.o \ |
| 16 | cell/spu_task_sync.o |
Michael Ellerman | 086dddc | 2014-07-10 12:29:23 +1000 | [diff] [blame] | 17 | oprofile-$(CONFIG_PPC_BOOK3S_64) += op_model_power4.o op_model_pa6t.o |
Andy Fleming | 39aef68 | 2008-02-04 18:27:55 -0600 | [diff] [blame] | 18 | oprofile-$(CONFIG_FSL_EMB_PERFMON) += op_model_fsl_emb.o |
Andy Fleming | dd6c89f | 2006-10-27 15:06:32 -0500 | [diff] [blame] | 19 | oprofile-$(CONFIG_6xx) += op_model_7450.o |