Anton Blanchard | 8555a00 | 2006-06-10 20:23:54 +1000 | [diff] [blame] | 1 | ifeq ($(CONFIG_PPC64),y) |
| 2 | EXTRA_CFLAGS += -mno-minimal-toc |
| 3 | endif |
| 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 |
Stephen Rothwell | d9e5b83 | 2005-09-19 23:15:51 +1000 | [diff] [blame] | 14 | oprofile-$(CONFIG_PPC64) += op_model_rs64.o op_model_power4.o |
| 15 | oprofile-$(CONFIG_FSL_BOOKE) += op_model_fsl_booke.o |
Andy Fleming | dd6c89f | 2006-10-27 15:06:32 -0500 | [diff] [blame^] | 16 | oprofile-$(CONFIG_6xx) += op_model_7450.o |