l4misc.mak
4.77 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Define source file lists to SRC_LIST
SRC_LIST = $(strip $(PS_FOLDER))\l4\uem\src\uem_proc_cmd.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_proc_msg.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_main.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_msg_hdlr.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_at_cmd.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_utility.c \
$(strip $(PS_FOLDER))\l4\uem\src\uem_gpio_ctrl.c \
$(strip $(PS_FOLDER))\l4\l4a\src\l4a_callback.c \
$(strip $(PS_FOLDER))\l4\l4a\src\l4a_cmd.c
ifneq ($(filter __MOD_PHB__, $(strip $(MODULE_DEFS))),)
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_common.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_config.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_context.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_control_block.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_data_desc.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_data_entry_table.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_approve.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_delete.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_delete_ln.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_read.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_read_ln.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_sat.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_search.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_startup.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_startup_ln.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_write.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_handler_write_ln.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_ilm.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_main.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_name_num_index.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_nvram_access.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_pindex.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_sap.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_se.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_sim_access.c
SRC_LIST += $(strip $(PS_FOLDER))\l4\phb\src\phb_utils.c
endif
ifeq ($(filter __MOD_PHB__, $(strip $(MODULE_DEFS))),)
SRC_LIST += $(strip $(PS_FOLDER))\l4\src\l4_dummy.c
endif
ifneq ($(filter __MOD_L4A__, $(strip $(MODULE_DEFS))),)
SRC_LIST += $(strip $(PS_FOLDER))\l4\l4a\src\l4a_main.c
endif
# Define include path lists to INC_DIR
INC_DIR = $(strip $(PS_FOLDER))\l4\include \
$(strip $(PS_FOLDER))\l4\uem\include \
$(strip $(PS_FOLDER))\l4\smu\include \
$(strip $(PS_FOLDER))\l4\atci\include \
$(strip $(PS_FOLDER))\l4\l4c\include\common \
$(strip $(PS_FOLDER))\l4\l4c\include\proc \
$(strip $(PS_FOLDER))\l4\rac\include \
$(strip $(PS_FOLDER))\l4\l4a\include \
$(strip $(PS_FOLDER))\l4\tcm\include \
$(strip $(PS_FOLDER))\interfaces\local_inc \
nvram\include \
applib\misc\include \
interface\mmi \
interface\meta \
custom\atci\include \
interface\hwdrv \
hal\drv_def \
hal\peripheral\inc \
custom\common\hal_public
ifneq ($(filter __MOD_PHB__, $(strip $(MODULE_DEFS))),)
INC_DIR += $(strip $(PS_FOLDER))\l4\phb\include
endif
ifneq ($(filter __MOD_SMU__, $(strip $(MODULE_DEFS))),)
INC_DIR += $(strip $(PS_FOLDER))\l4\smu\include
endif
ifneq ($(filter __MOD_SMSAL__, $(strip $(MODULE_DEFS))),)
INC_DIR += $(strip $(PS_FOLDER))\l4\smsal\include
endif
ifneq ($(filter __MOD_CSM__, $(strip $(MODULE_DEFS))),)
INC_DIR += $(strip $(PS_FOLDER))\l4\csm
INC_DIR += $(strip $(PS_FOLDER))\l4\csm\cc\include
INC_DIR += $(strip $(PS_FOLDER))\l4\csm\ss\include
endif
# Define the specified compile options to COMP_DEFS
COMP_DEFS = SMG_REL_97 \
__MOD_UEM__ \
UART_ENABLE \
__MOD_NVRAM__ \
__MOD_ATCI__ \
__MOD_L4C__ \
__SMS_PDU_MODE__ \
__SMS_ME_STORAGE__ \
MP3_SUPPORT \
__EMS__ \
SMS_SHOW_REPORT_IN_SIM \
__UEM_DRV_KPDQUEUE__ \
__CB_MMI_MASK__ \
EMS_LITTLE_ENDIAN \
EMS_MEM_MANAGEMENT \
SAVE_MSG_TO_SAME_STORAGE \
DATA_DOWNLOAD \
__PHB_USIM_MULTI_ADN__
ifneq ($(filter __MOD_PHB__, $(strip $(MODULE_DEFS))),)
COMP_DEFS += __MOD_PHB__
endif
ifneq ($(filter __MOD_SMU__, $(strip $(MODULE_DEFS))),)
COMP_DEFS += __MOD_SMU__
endif
ifneq ($(filter __MOD_SMSAL__, $(strip $(MODULE_DEFS))),)
COMP_DEFS += __MOD_SMSAL__
endif
ifneq ($(filter __MOD_CSM__, $(strip $(MODULE_DEFS))),)
COMP_DEFS += __MOD_CSM__
endif