2011-01-14 22:12:31 +08:00
|
|
|
ccflags-y := -Werror
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
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 )
|
|
|
|
|
2011-05-13 20:38:05 +08:00
|
|
|
oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
|
2006-10-23 07:44:02 +08:00
|
|
|
oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
|
2006-01-18 04:06:32 +08:00
|
|
|
oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
|
2005-04-17 06:20:36 +08:00
|
|
|
oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
|
2009-07-02 23:25:46 +08:00
|
|
|
oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
|