1 # File: component.mk\r
2 # This file is component include make file of OMX.\r
3 \r
4 # List of variables set in this file and their purpose:\r
5 # <mod>_RELPATH - This is the relative path of the module, typically from\r
6 # top-level directory of the package\r
7 # <mod>_PATH - This is the absolute path of the module. It derives from\r
8 # absolute path of the top-level directory (set in env.mk)\r
9 # and relative path set above\r
10 # <mod>_INCLUDE - This is the path that has interface header files of the\r
11 # module. This can be multiple directories (space separated)\r
12 # <mod>_PKG_LIST - Names of the modules (and sub-modules) that are a part\r
13 # part of this module, including itself.\r
14 # <mod>_PLATFORM_DEPENDENCY - "yes": means the code for this module depends on \r
15 # platform and the compiled obj/lib has to be kept\r
16 # under <platform> directory\r
17 # "no" or "" or if this variable is not defined: means\r
18 # this module has no platform dependent code and hence\r
19 # the obj/libs are not kept under <platform> dir.\r
20 # <mod>_CORE_DEPENDENCY - "yes": means the code for this module depends on \r
21 # core and the compiled obj/lib has to be kept\r
22 # under <core> directory\r
23 # "no" or "" or if this variable is not defined: means\r
24 # this module has no core dependent code and hence\r
25 # the obj/libs are not kept under <core> dir.\r
26 # <mod>_APP_STAGE_FILES - List of source files that belongs to the module\r
27 # <mod>, but that needs to be compiled at application\r
28 # build stage (in the context of the app). This is\r
29 # primarily for link time configurations or if the\r
30 # source file is dependent on options/defines that are\r
31 # application dependent. This can be left blank or\r
32 # not defined at all, in which case, it means there\r
33 # no source files in the module <mod> that are required\r
34 # to be compiled in the application build stage.\r
35 #\r
36 \r
37 # List of modules under EDMA3 LLD\r
38 edma3_lld_COMP_LIST_c6xdsp = edma3_lld_rm edma3_lld_drv\r
39 \r
40 # List of examples under EDMA3 LLD\r
41 edma3_lld_EXAMPLES_LIST = edma3_drv_ti816x-evm_m3_example edma3_drv_c6472-evm_64p_example edma3_drv_c6472-evm_64p_be_example edma3_drv_c6748-evm_674_example \\r
42 edma3_drv_da830-evm_674_example edma3_drv_omapl138-evm_674_example \\r
43 edma3_drv_tci6486-evm_64p_example edma3_drv_tci6486-evm_64p_be_example edma3_drv_ti816x-evm_674_example \\r
44 edma3_drv_ti816x_sim_sample \\r
45 edma3_drv_ti814x-evm_674_example edma3_drv_ti814x-evm_a8_example \\r
46 edma3_drv_tci6608-sim_66_example edma3_drv_tci6608-sim_66_be_example \\r
47 edma3_drv_tci6616-sim_66_example edma3_drv_tci6616-sim_66_be_example \\r
48 edma3_drv_tci6614-sim_66_example edma3_drv_tci6614-sim_66_be_example \\r
49 edma3_drv_c6657-sim_66_example edma3_drv_c6657-sim_66_be_example \\r
50 edma3_drv_c6670-evm_66_example edma3_drv_c6670-evm_66_be_example \\r
51 edma3_drv_c6678-evm_66_example edma3_drv_c6678-evm_66_be_example \\r
52 edma3_drv_tci6614-evm_66_example edma3_drv_tci6614-evm_66_be_example \\r
53 edma3_drv_c6657-evm_66_example edma3_drv_c6657-evm_66_be_example \\r
54 edma3_drv_omapl138-evm_arm9_example edma3_drv_omap4-evm_64t_example\r
55 \r
56 # List of libraries\r
57 \r
58 \r
59 \r
60 ifeq ($(PLATFORM),)\r
61 PLATFORM = ti816x-evm ti814x-evm c6a811x-evm c6472-evm c6670-evm c6678-evm c6748-evm da830-evm omapl138-evm tci6486-evm tci6608-sim tci6616-sim tci6614-evm tci6614-sim\r
62 endif\r
63 \r
64 ifeq ($(TARGET),)\r
65 TARGET = 674 m3 a8 64p 66\r
66 edma3_lld_LIBS_ALL = edma3_lld_rm_generic\r
67 endif\r
68 \r
69 #Prepare library list to build from the PLATFORM and TARGET\r
70 ifeq ($(PLATFORM),generic)\r
71 edma3_lld_LIBS_ALL = edma3_lld_rm_generic\r
72 else\r
73 edma3_lld_LIBS_ALL += $(foreach plat, $(PLATFORM),$(foreach targ,$(TARGET),edma3_lld_$(plat)_$(targ)_libs))\r
74 endif\r
75 \r
76 #Prepare Example list from PLATFORM and TARGET\r
77 ifeq ($(ENDIAN),big)\r
78 edma3_lld_EXAMPLES_LIST = $(foreach plat, $(PLATFORM),$(foreach targ,$(TARGET),edma3_drv_$(plat)_$(targ)_be_example))\r
79 else\r
80 edma3_lld_EXAMPLES_LIST = $(foreach plat, $(PLATFORM),$(foreach targ,$(TARGET),edma3_drv_$(plat)_$(targ)_example))\r
81 endif\r
82 \r
83 \r
84 # EDMA3 LLD RM - Resource manager\r
85 edma3_lld_rm_RELPATH = ti/sdo/edma3/rm\r
86 edma3_lld_rm_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_RELPATH)\r
87 edma3_lld_rm_INCLUDE = $(edma3_lld_rm_PATH) $(edma3_lld_rm_PATH)/src\r
88 edma3_lld_rm_PKG_LIST = edma3_lld_rm edma3_lld_rm_sample\r
89 edma3_lld_rm_PLATFORM_DEPENDENCY = yes\r
90 \r
91 edma3_lld_rm_sample_RELPATH = ti/sdo/edma3/rm/sample\r
92 edma3_lld_rm_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_sample_RELPATH)\r
93 edma3_lld_rm_sample_INCLUDE = $(edma3_lld_rm_sample_PATH) $(edma3_lld_rm_sample_PATH)/src\r
94 edma3_lld_rm_sample_PLATFORM_DEPENDENCY = yes\r
95 \r
96 # EDMA3 LLD DRV - Driver\r
97 edma3_lld_drv_RELPATH = ti/sdo/edma3/drv\r
98 edma3_lld_drv_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_RELPATH)\r
99 edma3_lld_drv_INCLUDE = $(edma3_lld_drv_PATH) $(edma3_lld_drv_PATH)/src\r
100 edma3_lld_drv_PKG_LIST = edma3_lld_drv edma3_lld_drv_sample\r
101 edma3_lld_drv_PLATFORM_DEPENDENCY = no\r
102 \r
103 edma3_lld_drv_sample_RELPATH = ti/sdo/edma3/drv/sample\r
104 edma3_lld_drv_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_sample_RELPATH)\r
105 edma3_lld_drv_sample_INCLUDE = $(edma3_lld_drv_sample_PATH) $(edma3_lld_drv_sample_PATH)/src\r
106 edma3_lld_drv_sample_PLATFORM_DEPENDENCY = yes\r
107 \r
108 # EDMA3 LLD top level\r
109 edma3_lld_INCLUDE = $(edma3_lld_PATH)/packages $(edma3_lld_rm_INCLUDE) $(edma3_lld_drv_INCLUDE) \\r
110 $(edma3_lld_rm_sample_INCLUDE) $(edma3_lld_drv_sample_INCLUDE)\r
111 \r
112 # EDMA3 LLD examples\r
113 edma3_drv_c6472-evm_64p_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6472\r
114 edma3_drv_c6472-evm_64p_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472-evm_64p_example_EXAMPLES_RELPATH)\r
115 \r
116 edma3_drv_c6472-evm_64p_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6472BE\r
117 edma3_drv_c6472-evm_64p_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472-evm_64p_be_example_EXAMPLES_RELPATH)\r
118 \r
119 edma3_drv_c6748-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6748\r
120 edma3_drv_c6748-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6748-evm_674_example_EXAMPLES_RELPATH)\r
121 \r
122 edma3_drv_da830-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evmDA830\r
123 edma3_drv_da830-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_da830-evm_674_example_EXAMPLES_RELPATH)\r
124 \r
125 edma3_drv_omapl138-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138\r
126 edma3_drv_omapl138-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omapl138-evm_674_example_EXAMPLES_RELPATH)\r
127 \r
128 edma3_drv_omap4-evm_64t_example_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAP4\r
129 edma3_drv_omap4-evm_64t_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omap4-evm_64t_example_EXAMPLES_RELPATH)\r
130 \r
131 edma3_drv_omapl138-evm_arm9_example_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138_ARM\r
132 edma3_drv_omapl138-evm_arm9_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omapl138-evm_arm9_example_EXAMPLES_RELPATH)\r
133 \r
134 edma3_drv_tci6486-evm_64p_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486\r
135 edma3_drv_tci6486-evm_64p_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486-evm_64p_example_EXAMPLES_RELPATH)\r
136 \r
137 edma3_drv_tci6486-evm_64p_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486BE\r
138 edma3_drv_tci6486-evm_64p_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486-evm_64p_be_example_EXAMPLES_RELPATH)\r
139 \r
140 edma3_drv_ti814x-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x\r
141 edma3_drv_ti814x-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti814x-evm_674_example_EXAMPLES_RELPATH)\r
142 \r
143 edma3_drv_ti814x-evm_a8_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x_A8\r
144 edma3_drv_ti814x-evm_a8_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti814x-evm_a8_example_EXAMPLES_RELPATH)\r
145 \r
146 edma3_drv_ti814x-evm_m3_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x_M3\r
147 edma3_drv_ti814x-evm_m3_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti814x-evm_m3_example_EXAMPLES_RELPATH)\r
148 \r
149 edma3_drv_ti816x-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x\r
150 edma3_drv_ti816x-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x-evm_674_example_EXAMPLES_RELPATH)\r
151 \r
152 edma3_drv_ti816x-evm_a8_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x_A8\r
153 edma3_drv_ti816x-evm_a8_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x-evm_a8_example_EXAMPLES_RELPATH)\r
154 \r
155 edma3_drv_ti816x-evm_m3_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x_M3\r
156 edma3_drv_ti816x-evm_m3_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x-evm_m3_example_EXAMPLES_RELPATH)\r
157 \r
158 edma3_drv_c6a811x-evm_674_example_EXAMPLES_RELPATH = examples/edma3_driver/evmC6A811x\r
159 edma3_drv_c6a811x-evm_674_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6a811x-evm_674_example_EXAMPLES_RELPATH)\r
160 \r
161 edma3_drv_c6a811x-evm_a8_example_EXAMPLES_RELPATH = examples/edma3_driver/evmC6A811x_A8\r
162 edma3_drv_c6a811x-evm_a8_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6a811x-evm_a8_example_EXAMPLES_RELPATH)\r
163 \r
164 edma3_drv_c6a811x-evm_m3_example_EXAMPLES_RELPATH = examples/edma3_driver/evmC6A811x_M3\r
165 edma3_drv_c6a811x-evm_m3_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6a811x-evm_m3_example_EXAMPLES_RELPATH)\r
166 \r
167 edma3_drv_tci6608-sim_66_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6608\r
168 edma3_drv_tci6608-sim_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6608-sim_66_example_EXAMPLES_RELPATH)\r
169 \r
170 edma3_drv_tci6608-sim_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6608BE\r
171 edma3_drv_tci6608-sim_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6608-sim_66_be_example_EXAMPLES_RELPATH)\r
172 \r
173 edma3_drv_tci6616-sim_66_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6616\r
174 edma3_drv_tci6616-sim_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6616-sim_66_example_EXAMPLES_RELPATH)\r
175 \r
176 edma3_drv_tci6616-sim_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6616BE\r
177 edma3_drv_tci6616-sim_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6616-sim_66_be_example_EXAMPLES_RELPATH)\r
178 \r
179 edma3_drv_tci6614-sim_66_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6614\r
180 edma3_drv_tci6614-sim_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6614-sim_66_example_EXAMPLES_RELPATH)\r
181 \r
182 edma3_drv_tci6614-sim_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6614BE\r
183 edma3_drv_tci6614-sim_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6614-sim_66_be_example_EXAMPLES_RELPATH)\r
184 \r
185 edma3_drv_c6657-sim_66_example_EXAMPLES_RELPATH = examples/edma3_driver/simC6657\r
186 edma3_drv_c6657-sim_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6657-sim_66_example_EXAMPLES_RELPATH)\r
187 \r
188 edma3_drv_c6657-sim_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/simC6657BE\r
189 edma3_drv_c6657-sim_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6657-sim_66_be_example_EXAMPLES_RELPATH)\r
190 \r
191 edma3_drv_c6670-evm_66_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6670\r
192 edma3_drv_c6670-evm_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6670-evm_66_example_EXAMPLES_RELPATH)\r
193 \r
194 edma3_drv_c6670-evm_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6670BE\r
195 edma3_drv_c6670-evm_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6670-evm_66_be_example_EXAMPLES_RELPATH)\r
196 \r
197 edma3_drv_c6678-evm_66_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6678\r
198 edma3_drv_c6678-evm_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6678-evm_66_example_EXAMPLES_RELPATH)\r
199 \r
200 edma3_drv_c6678-evm_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evm6678BE\r
201 edma3_drv_c6678-evm_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6678-evm_66_be_example_EXAMPLES_RELPATH)\r
202 \r
203 edma3_drv_tci6614-evm_66_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6614\r
204 edma3_drv_tci6614-evm_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6614-evm_66_example_EXAMPLES_RELPATH)\r
205 \r
206 edma3_drv_tci6614-evm_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6614BE\r
207 edma3_drv_tci6614-evm_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6614-evm_66_be_example_EXAMPLES_RELPATH)\r
208 \r
209 edma3_drv_c6657-evm_66_example_EXAMPLES_RELPATH = examples/edma3_driver/evmC6657\r
210 edma3_drv_c6657-evm_66_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6657-evm_66_example_EXAMPLES_RELPATH)\r
211 \r
212 edma3_drv_c6657-evm_66_be_example_EXAMPLES_RELPATH = examples/edma3_driver/evmC6657BE\r
213 edma3_drv_c6657-evm_66_be_example_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6657-evm_66_be_example_EXAMPLES_RELPATH)\r
214 # Nothing beyond this point\r