aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/oprofile/Makefile')
-rw-r--r--arch/mips/oprofile/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/mips/oprofile/Makefile b/arch/mips/oprofile/Makefile
new file mode 100644
index 000000000..e10f216d0
--- /dev/null
+++ b/arch/mips/oprofile/Makefile
@@ -0,0 +1,18 @@
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_OPROFILE) += oprofile.o
3
4DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
5 oprof.o cpu_buffer.o buffer_sync.o \
6 event_buffer.o oprofile_files.o \
7 oprofilefs.o oprofile_stats.o \
8 timer_int.o )
9
10oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
11
12oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
13oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
14oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
15oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
16oprofile-$(CONFIG_CPU_XLR) += op_model_mipsxx.o
17oprofile-$(CONFIG_CPU_LOONGSON2EF) += op_model_loongson2.o
18oprofile-$(CONFIG_CPU_LOONGSON64) += op_model_loongson3.o