mm_comm.mak
3.15 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Define source file lists to SRC_LIST
SRC_LIST = hal\mm_comm\src\mmsys_pwrmgr.c \
hal\mm_comm\src\mm_power_ctrl.c \
hal\mm_comm\src\mm_power_ctrl_mt6253.c \
hal\mm_comm\src\mm_intmem_mt6253.c
ifneq ($(filter MULTI_MEDIA_EXIST, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\visual_comm.c \
hal\mm_comm\src\visualhisr.c
endif
ifneq ($(filter MT6235, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6235.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6235.c
else
ifneq ($(filter MT6235B, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6235.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6235.c
endif
endif
ifneq ($(filter MT6268, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6268.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6268.c
else
ifneq ($(filter MT6268H, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6268.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6268.c
endif
endif
ifneq ($(filter MT6236, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6236.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6236.c
else
ifneq ($(filter MT6236B, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6236.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6236.c
endif
endif
ifneq ($(filter MT6276, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6276.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6276.c
endif
ifneq ($(filter MT6255, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6255.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6255.c
endif
ifneq ($(filter MT6250, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6250.c
endif
ifneq ($(filter MT6260, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6250.c
SRC_LIST += hal\mm_comm\src\mm_pq_path_mt6260.c
endif
ifneq ($(filter MT6261, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6250.c
SRC_LIST += hal\mm_comm\src\mm_pq_path_mt6260.c
endif
ifneq ($(filter MT6256_S00, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6256_e1.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6256_e1.c
endif
ifneq ($(filter MT6256_S01, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\mm_comm\src\mm_power_ctrl_mt6256_e2.c
SRC_LIST += hal\mm_comm\src\mm_intmem_mt6256_e2.c
endif
# Define include path lists to INC_DIR
INC_DIR = drv\include \
hal\storage\flash\mtd\inc \
hal\storage\flash\fdm\inc \
usb\include \
inc \
sst\include \
media\image\include \
dp_engine\che \
applib\misc\include \
ssf\inc \
vendor\hp_fota\UA \
irda\inc \
hal\mm_comm\inc \
hal\mdp\include \
hal\drv_def \
interface\hal \
interface\hal\mm_comm \
interface\hal\video \
interface\hal\system \
hal\system\regbase\inc \
hal\system\dma\inc \
hal\system\counter\inc
# Define the specified compile options to COMP_DEFS
COMP_DEFS =