iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
[linux/fpc-iii.git] / arch / sh / oprofile / Makefile
blobd478dd8dac0b240bfecfef56039e3428b8a7ee07
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_OPROFILE) += oprofile.o
4 CFLAGS_common.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6 DRIVER_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 )
12 ifeq ($(CONFIG_HW_PERF_EVENTS),y)
13 DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
14 endif
16 oprofile-y := $(DRIVER_OBJS) common.o backtrace.o