Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
19 lines
677 B
Makefile
19 lines
677 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
|
|
oprof.o cpu_buffer.o buffer_sync.o \
|
|
event_buffer.o oprofile_files.o \
|
|
oprofilefs.o oprofile_stats.o \
|
|
timer_int.o )
|
|
|
|
oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
|
|
|
|
oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_XLR) += op_model_mipsxx.o
|
|
oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
|
|
oprofile-$(CONFIG_CPU_LOONGSON3) += op_model_loongson3.o
|