blob: e9fec34a1bf1349f1200eb3d4dd2b37773381904 (
plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Makefile generated by Mediatek
# fm support
#6628 FM driver
ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6628), y)
$(warning MT6628_FM)
ccflags-y += -I$(src)/inc \
-I$(src)/mt6628/inc \
-I$(src)/../common/include \
-I$(src)/../common/linux/include \
-I$(src)/cust/mt6628 \
-I$(src)/private/inc \
-DMT6628_FM
obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o
mtk_fm_drv-objs += core/fm_module.o \
core/fm_main.o \
core/fm_config.o \
core/fm_rds_parser.o \
core/fm_patch.o \
core/fm_utils.o \
core/fm_link.o \
core/fm_eint.o \
mt6628/pub/mt6628_fm_lib.o \
mt6628/pub/mt6628_fm_rds.o \
mt6628/pub/mt6628_fm_cmd.o \
mt6628/pub/mt6628_fm_config.o
$(warning $(mtk_fm_drv-objs))
endif
# MT6620 FM driver
ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6620), y)
$(warning MT6620_FM)
ccflags-y += -I$(src)/inc \
-I$(src)/mt6620/inc \
-I$(src)/../common/include \
-I$(src)/../common/linux/include \
-I$(src)/cust/mt6620 \
-I$(src)/private/inc \
-DMT6620_FM
obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o
mtk_fm_drv-objs += core/fm_module.o \
core/fm_main.o \
core/fm_config.o \
core/fm_rds_parser.o \
core/fm_patch.o \
core/fm_utils.o \
core/fm_link.o \
core/fm_eint.o \
mt6620/pub/mt6620_fm_lib.o \
mt6620/pub/mt6620_fm_rds.o \
mt6620/pub/mt6620_fm_cmd.o \
mt6620/pub/mt6620_fm_config.o
$(warning $(mtk_fm_drv-objs))
endif
# MT6626 FM driver
ifeq ($(CONFIG_MTK_COMBO_CHIP_MT6626), y)
FM_CHIP = mt6626
FM_CHIP_PATH = $(FM_CHIP)/pub/$(FM_CHIP)
ccflags-y := -I$(src)/inc \
-I$(src)/$(FM_CHIP)/inc \
-I$(src)/cust/$(FM_CHIP) \
-I$(src)/private/inc \
-DMT6626_FM
obj-$(CONFIG_MTK_COMBO_FM) += mtk_fm_drv.o
mtk_fm_drv-objs := core/fm_module.o \
core/fm_main.o \
core/fm_config.o \
core/fm_patch.o \
core/fm_rds_parser.o \
core/fm_utils.o \
core/fm_link.o \
$(FM_CHIP_PATH)_fm_lib.o \
$(FM_CHIP_PATH)_fm_rds.o \
$(FM_CHIP_PATH)_fm_link.o \
$(FM_CHIP_PATH)_fm_eint.o
endif
|