First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / mips / oprofile / Makefile
blob02cc65e52d11b47574b2940e5859a733f7d0fd85
1 EXTRA_CFLAGS := -Werror
3 obj-$(CONFIG_OPROFILE) += oprofile.o
5 DRIVER_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 )
11 oprofile-y := $(DRIVER_OBJS) common.o
13 oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
14 oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
15 oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
16 oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
17 oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
18 oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o