blob: bf3be6fcf7ff38343e3ed157c4722ed8a938b145 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001EXTRA_CFLAGS := -Werror
2
3obj-$(CONFIG_OPROFILE) += oprofile.o
4
5DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
6 oprof.o cpu_buffer.o buffer_sync.o \
7 event_buffer.o oprofile_files.o \
8 oprofilefs.o oprofile_stats.o \
9 timer_int.o )
10
11oprofile-y := $(DRIVER_OBJS) common.o
12
13oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
14oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
Ralf Baechle714cfe72006-10-23 00:44:02 +010015oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
Mark Masonc03bc122006-01-17 12:06:32 -080016oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o