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)
25 lines
831 B
Makefile
25 lines
831 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ADSP_VERSION := common
|
|
ADSP_VERSION_PATH := ../$(ADSP_VERSION)
|
|
|
|
obj-y += $(ADSP_VERSION_PATH)/
|
|
obj-y += adsp_awake.o
|
|
#obj-y += adsp_dvfs.o
|
|
#obj-y += adsp_plat.o
|
|
obj-y += adsp_clk.o
|
|
#obj-y += adsp_bus_monitor.o
|
|
obj-y += adsp_reserved_mem.o
|
|
obj-y += adsp_platform_driver.o adsp_platform.o
|
|
obj-y += adsp_mbox.o
|
|
obj-$(CONFIG_MTK_AEE_FEATURE) += adsp_excep.o
|
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/adsp/common
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/common/framework
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(CONFIG_MTK_PLATFORM)/include/mach
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include
|
|
|
|
ccflags-y += -I$(srctree)/sound/soc/mediatek/$(CONFIG_MTK_PLATFORM)
|
|
ifeq ($(CONFIG_MTK_ENG_BUILD),y)
|
|
CFLAGS_adsp_excep.o += -DDEBUG
|
|
endif |