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 nmi_timer_int.o )
9
10oprofile-y				:= $(DRIVER_OBJS) init.o backtrace.o
11oprofile-$(CONFIG_X86_LOCAL_APIC) 	+= nmi_int.o op_model_amd.o \
12					   op_model_ppro.o op_model_p4.o
13