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