Files
android/sound/soc/mediatek/mt6833/Makefile
T
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
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)
2026-09-12 13:36:46 +00:00

39 lines
999 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# platform driver
snd-soc-mt6833-afe-objs := \
mt6833-afe-pcm.o \
mt6833-afe-clk.o \
mt6833-afe-gpio.o \
mt6833-dai-adda.o \
mt6833-afe-control.o \
mt6833-dai-i2s.o \
mt6833-dai-hw-gain.o \
mt6833-dai-src.o \
mt6833-dai-pcm.o \
mt6833-dai-hostless.o \
mt6833-misc-control.o
obj-$(CONFIG_SND_SOC_MT6833) += snd-soc-mt6833-afe.o
# machine driver
obj-$(CONFIG_SND_SOC_MT6833_MT6359) += mt6833-mt6359.o
# MENU Governor Predict(low power)
ifeq ($(CONFIG_MTK_ACAO_SUPPORT),y)
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/mcdi/include/
endif
# spm
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(AUDIO_PLATFORM)/include
# external spk amp
ifeq ($(CONFIG_SND_SOC_AW87339),y)
subdir-ccflags-y += -I$(srctree)/sound/soc/codecs/aw87339/$(MTK_PROJECT)/
endif
ifeq ($(CONFIG_SND_SOC_SIA8109),y)
subdir-ccflags-y += -I$(srctree)/sound/soc/codecs/sia81xx/
endif