Makefile 677 B

12345678910111213141516171819
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_OPROFILE) += oprofile.o
  3. DRIVER_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. oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
  9. oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
  10. oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
  11. oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
  12. oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
  13. oprofile-$(CONFIG_CPU_XLR) += op_model_mipsxx.o
  14. oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
  15. oprofile-$(CONFIG_CPU_LOONGSON3) += op_model_loongson3.o