2005-04-16 15:20:36 -07:00
|
|
|
EXTRA_CFLAGS := -Werror
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
|
2006-01-17 13:06:32 -07:00
|
|
|
oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
|
2005-04-16 15:20:36 -07:00
|
|
|
oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
|