-
Notifications
You must be signed in to change notification settings - Fork 0
/
audio_kernel_vendor_board.mk
53 lines (51 loc) · 1.9 KB
/
audio_kernel_vendor_board.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Build audio kernel driver
ifeq ($(TARGET_USES_QMAA),true)
ifeq ($(TARGET_USES_QMAA_OVERRIDE_AUDIO),true)
BUILD_AUDIO_MODULES := true
else
BUILD_AUDIO_MODULES := false
endif
else
BUILD_AUDIO_MODULES := true
endif
ifeq ($(BUILD_AUDIO_MODULES),true)
ifneq ($(TARGET_BOARD_AUTO),true)
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/q6_notifier_dlkm.ko\
$(KERNEL_MODULES_OUT)/spf_core_dlkm.ko \
$(KERNEL_MODULES_OUT)/audpkt_ion_dlkm.ko \
$(KERNEL_MODULES_OUT)/gpr_dlkm.ko \
$(KERNEL_MODULES_OUT)/audio_pkt_dlkm.ko \
$(KERNEL_MODULES_OUT)/q6_dlkm.ko \
$(KERNEL_MODULES_OUT)/adsp_loader_dlkm.ko \
$(KERNEL_MODULES_OUT)/audio_prm_dlkm.ko \
$(KERNEL_MODULES_OUT)/q6_pdr_dlkm.ko \
$(KERNEL_MODULES_OUT)/pinctrl_lpi_dlkm.ko \
$(KERNEL_MODULES_OUT)/swr_dlkm.ko \
$(KERNEL_MODULES_OUT)/swr_ctrl_dlkm.ko \
$(KERNEL_MODULES_OUT)/snd_event_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd_core_dlkm.ko \
$(KERNEL_MODULES_OUT)/mbhc_dlkm.ko \
$(KERNEL_MODULES_OUT)/swr_dmic_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd9xxx_dlkm.ko \
$(KERNEL_MODULES_OUT)/stub_dlkm.ko \
$(KERNEL_MODULES_OUT)/machine_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_wsa2_macro_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_wsa_macro_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_va_macro_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_rx_macro_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_tx_macro_dlkm.ko \
$(KERNEL_MODULES_OUT)/lpass_cdc_dlkm.ko \
$(KERNEL_MODULES_OUT)/wsa883x_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd938x_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd938x_slave_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd937x_dlkm.ko \
$(KERNEL_MODULES_OUT)/wcd937x_slave_dlkm.ko \
$(KERNEL_MODULES_OUT)/hdmi_dlkm.ko
ifneq (,$(filter AI2201,$(ASUS_BUILD_PROJECT)))
$(warning build audio cs35l45 in audio_kernel_vendor_board.mk for AI2201...)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/cs35l45_i2c_dlkm.ko
endif
endif
endif
endif