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)
39 lines
750 B
Makefile
39 lines
750 B
Makefile
# SIA81xx PA object
|
|
|
|
COMPILE_TO_MODULE = n
|
|
EN_SIA81XX_TUNING = y
|
|
TUNING_PLATFORM = mtk
|
|
|
|
snd-soc-sia81xx-objs := \
|
|
sia81xx.o \
|
|
sia81xx_regmap.o \
|
|
sia81xx_aux_dev_if.o \
|
|
sia81xx_set_vdd.o \
|
|
sia8101_regs.o \
|
|
sia8108_regs.o \
|
|
sia8109_regs.o \
|
|
sia8152_regs.o \
|
|
sia8152s_regs.o \
|
|
sia8159_regs.o \
|
|
sia81xx_timer_task.o \
|
|
|
|
ifeq ($(EN_SIA81XX_TUNING),y)
|
|
EXTRA_CFLAGS += -DSIA81XX_TUNING
|
|
snd-soc-sia81xx-objs += sia81xx_socket.o
|
|
endif
|
|
|
|
ifeq ($(TUNING_PLATFORM),qcom)
|
|
snd-soc-sia81xx-objs += sia81xx_afe.o
|
|
endif
|
|
|
|
ifeq ($(TUNING_PLATFORM),mtk)
|
|
snd-soc-sia81xx-objs += sia81xx_tuning_if_dev.o
|
|
endif
|
|
|
|
ifeq ($(COMPILE_TO_MODULE),y)
|
|
EXTRA_CFLAGS += -DSIA81XX_COMPILE_TO_MODULE
|
|
obj-m += snd-soc-sia81xx.o
|
|
else
|
|
obj-y += snd-soc-sia81xx.o
|
|
endif
|