init.mak
2.64 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
# Define source file lists to SRC_LIST
SRC_LIST = init\src\l6478e.s \
init\src\code_decompression.c
ifneq ($(filter __ZIMAGE_SUPPORT__, $(strip $(MODULE_DEFS))),)
ifneq ($(strip $(MMI_VERSION)),NEPTUNE_MMI)
ifneq ($(strip $(MMI_VERSION)),EMPTY_MMI)
SRC_LIST += plutommi\Framework\GUI\gui_src\bootup_logo.c
endif
endif
endif
ifneq ($(filter __MEUT__, $(strip $(MODULE_DEFS))),)
SRC_LIST += init\src\meut_init.c
endif
ifeq ($(strip $(CUSTOM_RELEASE)),TRUE)
ifneq ($(filter $(COMPONENT),$(CUS_REL_PAR_SRC_COMP)),)
SRC_LIST := $(filter $(call Lower,$(SRC_LIST)),$(call Lower,$(CUS_REL_$(strip $(call Upper,$(COMPONENT)))_PAR_SRC_LIST)))
endif #CUS_REL_PAR_SRC_COMP
endif #CUSTOM_RELEASE
# Define include path lists to INC_DIR
INC_DIR = inc \
interface\l1interface \
drv\include \
interface\hal\system \
hal\storage\flash\mtd\inc \
hal\storage\flash\fdm\inc \
hal\storage\mc\inc \
hal\system\bootloader\inc \
MCT\Source\MainLib\Include \
sst\include \
hal\dsp_ram \
verno \
hal\system\fota\inc \
hal\system\cache\inc \
ssf\inc \
hal\system\CBR\inc \
hal\system\GFH\public \
sss\interface\inc \
security\sds \
interface\hal\graphics \
interface\ps\include \
plutommi\mmi\inc \
plutommi\customer\custresource \
hal\system\DP\inc
# Define the specified compile options to COMP_DEFS
COMP_DEFS = APCS_INTWORK
COMP_DEFS += $(strip $(PLATFORM))
ifeq ($(strip $(NEED_BUILD_BOOTLOADER)),TRUE)
ifeq ($(strip $(NAND_FLASH_BOOTING)),NONE)
ifdef EMMC_BOOTING
ifeq ($(strip $(EMMC_BOOTING)),NONE)
COMP_DEFS += __BL_ENABLE__ \
REMAPPING
endif
else
COMP_DEFS += __BL_ENABLE__ \
REMAPPING
endif
endif
endif
ifneq ($(strip $(FOTA_ENABLE)),NONE)
ifneq ($(strip $(FOTA_ENABLE)),)
COMP_DEFS += __FOTA_ENABLE__
ifeq ($(strip $(NAND_FLASH_BOOTING)),NONE)
ifdef EMMC_BOOTING
ifeq ($(strip $(EMMC_BOOTING)),NONE)
COMP_DEFS += REMAPPING
endif
else
COMP_DEFS += REMAPPING
endif
endif
endif
endif
ifdef NAND_FLASH_BOOTING
ifneq ($(strip $(NAND_FLASH_BOOTING)),NONE)
COMP_DEFS += _NAND_FLASH_BOOTING_
endif
endif
ifdef EMMC_BOOTING
ifneq ($(strip $(EMMC_BOOTING)),NONE)
COMP_DEFS += __EMMC_BOOTING__
endif
endif
ifeq ($(SWDBG_SUPPORT),TRUE)
COMP_DEFS += __SWDBG_SUPPORT__
endif
ifeq ($(strip $(ENHANCED_SINGLE_BANK_NOR_FLASH_SUPPORT)),TRUE)
COMP_DEFS += SINGLE_BANK_SUPPORT
COMP_DEFS += REMAPPING
endif