Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / oprofile / Makefile
blob39688dc9f1811a498e9a3e852343b9792fee8eb8
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_OPROFILE) += oprofile.o
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 )
10 ifeq ($(CONFIG_HW_PERF_EVENTS),y)
11 DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
12 endif
14 oprofile-y := $(DRIVER_OBJS) common.o