]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/sh/oprofile/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / sh / oprofile / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2obj-$(CONFIG_OPROFILE) += oprofile.o
3
2e4f17d2
PM
4CFLAGS_common.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
5
1da177e4
LT
6DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
7 oprof.o cpu_buffer.o buffer_sync.o \
8 event_buffer.o oprofile_files.o \
9 oprofilefs.o oprofile_stats.o \
10 timer_int.o )
11
86c8c047
MF
12ifeq ($(CONFIG_HW_PERF_EVENTS),y)
13DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
14endif
15
60a51fbe 16oprofile-y := $(DRIVER_OBJS) common.o backtrace.o