blob: 070afdb297df161077fc6289632545fb12e6e995 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001obj-$(CONFIG_OPROFILE) += oprofile.o
2
3DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
4 oprof.o cpu_buffer.o buffer_sync.o \
5 event_buffer.o oprofile_files.o \
6 oprofilefs.o oprofile_stats.o \
7 timer_int.o )
8
Daniel Kalmar5f307492011-05-13 08:38:05 -04009oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
12oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
Ralf Baechle714cfe72006-10-23 00:44:02 +010013oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
Mark Masonc03bc122006-01-17 12:06:32 -080014oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
Madhusudan Bhatc7833902012-10-31 12:01:27 +000015oprofile-$(CONFIG_CPU_XLR) += op_model_mipsxx.o
Wu Zhangjin67b35e52009-07-02 23:25:46 +080016oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
Huacai Chen89467e732014-11-04 14:15:07 +080017oprofile-$(CONFIG_CPU_LOONGSON3) += op_model_loongson3.o