aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/oprofile/Makefile
blob: 17b411b2206318d6675b92e32bf8e6e4935740a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_R1)		+= op_model_mipsxx.o
oprofile-$(CONFIG_CPU_MIPS64_R1)		+= op_model_mipsxx.o
oprofile-$(CONFIG_CPU_RM9000)		+= op_model_rm9000.o