blob: c66d70d05dd8f54e9e3a9510eca09706246a320b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/mach/$(MTK_PLATFORM)/include
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/mach/$(MTK_PLATFORM)/include/mach
ifneq ($(filter "MT6620E3",$(CONFIG_MTK_COMBO_CHIP)),)
obj-y += combo/
endif
ifneq ($(filter "MT6628",$(CONFIG_MTK_COMBO_CHIP)),)
subdir-ccflags-y += -D MT6628
subdir-ccflags-y += -D MERGE_INTERFACE_SUPPORT
obj-y += combo/
endif
ifneq ($(filter "MT6630",$(CONFIG_MTK_COMBO_CHIP)),)
subdir-ccflags-y += -D MT6630
ifneq ($(CONFIG_ARCH_MT2601),y)
subdir-ccflags-y += -D MERGE_INTERFACE_SUPPORT
endif
obj-y += combo/
endif
ifneq ($(filter "CONSYS_%",$(CONFIG_MTK_COMBO_CHIP)),)
obj-y += conn_soc/
endif
obj-y += common_detect/
|