blob: 563e1440dc56099830e69f48e4c2438aeb6fe5db [file] [log] [blame]
# Define source file lists to SRC_LIST
SRC_LIST = protocol/layer4/l4/uem/src/uem_proc_cmd.c \
protocol/layer4/l4/uem/src/uem_proc_msg.c \
protocol/layer4/l4/uem/src/uem_main.c \
protocol/layer4/l4/uem/src/uem_msg_hdlr.c \
protocol/layer4/l4/uem/src/uem_at_cmd.c \
protocol/layer4/l4/uem/src/uem_utility.c \
protocol/layer4/l4/uem/src/uem_gpio_ctrl.c \
protocol/layer4/l4/phb/src/phb_common.c \
protocol/layer4/l4/phb/src/phb_config.c \
protocol/layer4/l4/phb/src/phb_context.c \
protocol/layer4/l4/phb/src/phb_control_block.c \
protocol/layer4/l4/phb/src/phb_data_desc.c \
protocol/layer4/l4/phb/src/phb_data_entry_table.c \
protocol/layer4/l4/phb/src/phb_handler_approve.c \
protocol/layer4/l4/phb/src/phb_handler_delete.c \
protocol/layer4/l4/phb/src/phb_handler_read.c \
protocol/layer4/l4/phb/src/phb_handler_sat.c \
protocol/layer4/l4/phb/src/phb_handler_search.c \
protocol/layer4/l4/phb/src/phb_handler_startup.c \
protocol/layer4/l4/phb/src/phb_handler_write.c \
protocol/layer4/l4/phb/src/phb_ilm.c \
protocol/layer4/l4/phb/src/phb_main.c \
protocol/layer4/l4/phb/src/phb_name_num_index.c \
protocol/layer4/l4/phb/src/phb_nvram_access.c \
protocol/layer4/l4/phb/src/phb_pindex.c \
protocol/layer4/l4/phb/src/phb_sap.c \
protocol/layer4/l4/phb/src/phb_se.c \
protocol/layer4/l4/phb/src/phb_sim_access.c \
protocol/layer4/l4/phb/src/phb_utils.c \
# Define include path lists to INC_DIR
INC_DIR = protocol/layer4/l4/csm \
protocol/layer4/l4/csm/cc/include \
protocol/layer4/l4/csm/ss/include \
protocol/layer4/l4/include \
protocol/layer4/l4/uem/include \
protocol/layer4/l4/smu/include \
protocol/layer4/l4/atci/include \
protocol/layer4/l4/l4c/include/common \
protocol/layer4/l4/l4c/include/proc \
protocol/layer4/l4/phb/include \
protocol/layer4/l4/smsal/include \
protocol/layer4/l4/rac/common/include \
protocol/layer4/l4/rac/ugrac/include \
protocol/interface/l4 \
protocol/interface/l4misc \
protocol/interface/ims \
./interface/middleware/meta \
interface/service/kal \
interface/service/nvram \
interface/protocol/general \
interface/driver/hwdrv \
interface/driver/drv_def \
driver/peripheral/inc \
interface/protocol/uem/include
#mtk04121
ifneq ($(filter __ETCM__, $(strip $(MODULE_DEFS))),)
INC_DIR += protocol/layer4/l4/tcm/etcm/include
endif
ifneq ($(strip $(EUTRAN_MODE_SUPPORT)),NONE)
INC_DIR += protocol/layer4/l4/rac/erac/include
endif
# Define the specified compile options to COMP_DEFS
COMP_DEFS = SMG_REL_97 \
__MOD_UEM__ \
UART_ENABLE \
__MOD_CSM__ \
__MOD_SMU__ \
__MOD_NVRAM__ \
__MOD_PHB__ \
__MOD_SMSAL__ \
__MOD_ATCI__ \
__MOD_L4C__ \
__SMS_PDU_MODE__ \
__SMS_ME_STORAGE__ \
__CB__ \
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__ \
__CATEGORY_MODEM__
# Define the source file search paths to SRC_PATH
SRC_PATH = protocol/layer4/l4/src \
protocol/layer4/l4/l4c/src/common \
protocol/layer4/l4/atci/src \
protocol/layer4/l4/l4c/src/proc \
protocol/layer4/l4/uem/src \
protocol/layer4/l4/smu/src \
protocol/layer4/l4/uem/src \
protocol/layer4/l4/csm \
protocol/layer4/l4/csm/cc/src \
protocol/layer4/l4/csm/ss/src \
protocol/layer4/l4/phb/src \
protocol/layer4/l4/smsal/src \
protocol/layer4/l4/rac/common/src \
protocol/layer4/l4/rac/ugrac/src \
protocol/layer4/l4/tcm/common
ifneq ($(filter __UGTCM__, $(strip $(MODULE_DEFS))),)
SRC_PATH += protocol/layer4/l4/tcm/ugtcm
endif
#fdr_reorg
INC_DIR += protocol/interface/general \
interface/l1/cl1/common \
interface/protocol/nas_c2k
ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297)
INC_DIR += protocol/interface/enl2/el2
INC_DIR += protocol/interface/enl2/en_common
else ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297P)
INC_DIR += protocol/interface/enl2/el2
INC_DIR += protocol/interface/enl2/en_common
else
INC_DIR += protocol/interface/el2
endif
INC_DIR += protocol/interface/lte
INC_DIR += protocol/interface/agps
NOT_USE_CATEGORY_INCLUDE = TRUE