Merge tag 'powerpc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git] / arch / arm / oprofile / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_OPROFILE) += oprofile.o
3
4 DRIVER_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
10 ifeq ($(CONFIG_HW_PERF_EVENTS),y)
11 DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
12 endif
13
14 oprofile-y                              := $(DRIVER_OBJS) common.o