ec5978cf49a5d43b4b5e6070e298a67b94a9d9aa
[processor-sdk/audio-preprocessing.git] / file_demo_bios / am572x / build / makefile
1 ifneq ($(RULES_MAKE), )\r
2 include $(RULES_MAKE)\r
3 endif\r
4 \r
5 # set global environment variables\r
6 SDK_INSTALL_PATH ?= C:/ti\r
7 C6X_GEN_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0\r
8 XDC_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdctools_3_32_00_06_core\r
9 BIOS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/bios_6_45_01_29\r
10 UIA_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/uia_2_00_03_43\r
11 XDAIS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdais_7_24_00_04\r
12 VOLIB_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/volib_C66_2_1_0_1\r
13 AER_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/aer_c64Px_obj_17_0_0_0\r
14 \r
15 GEN_OPTS__FLAG := --cmd_file="configPkg/compiler.opt"\r
16 GEN_CMDS__FLAG := -l"configPkg/linker.cmd"\r
17 \r
18 ORDERED_OBJS += \
19 "./main.obj" \
20 "./clk.obj" \
21 "./fil.obj" \
22 "./sys.obj" \
23 "./sysasnr.obj" \
24 "./sysbf.obj" \
25 "./sysbfflt.obj" \
26 "./sysdrc.obj" \\r
27 "./syseram.obj" \
28 "./sysiram.obj" \
29 "./sysmss.obj" \
30 "./mhm.obj" \
31 "./mss.obj" \
32 "./mssproc.obj" \
33 "../bflinker.cmd" \
34 $(GEN_CMDS__FLAG) \
35 -laer_c.ae64P \
36 -lvau/lib/vau_c.ae66 \
37 -lvpe/lib/vpe_a.ae66 \
38 -lvpe/lib/vpe_c.ae66 \
39 -lutil/lib/util_c.ae66 \
40 -lmhm/lib/mhm_c.ae66 \
41 -llibc.a \
42 \r
43 -include ../makefile.init\r
44 \r
45 OS := $(shell uname)\r
46 ifeq ($(OS), Linux)\r
47 RM := rm -f\r
48 RMDIR := rm -d -f -r\r
49 else\r
50 RM := rm -f\r
51 RMDIR := rm -r -f\r
52 endif\r
53 \r
54 # All of the sources participating in the build are defined here\r
55 ##-include subdir_vars.mk\r
56 # Add inputs and outputs from these tool invocations to the build variables \r
57 CMD_SRCS += \\r
58 ../bflinker.cmd \r
59 \r
60 CFG_SRCS += \\r
61 ../app.cfg \r
62 \r
63 C_SRCS += \\r
64 ../main.c \r
65 \r
66 OBJS += \\r
67 ./main.obj \r
68 \r
69 C_DEPS += \\r
70 ./main.d \r
71 \r
72 GEN_MISC_DIRS += \\r
73 ./configPkg/ \r
74 \r
75 GEN_CMDS += \\r
76 ./configPkg/linker.cmd \r
77 \r
78 GEN_OPTS += \\r
79 ./configPkg/compiler.opt \r
80 \r
81 GEN_FILES += \\r
82 ./configPkg/linker.cmd \\r
83 ./configPkg/compiler.opt \r
84 \r
85 ifeq ($(OS), Linux)\r
86 GEN_FILES__QUOTED += \\r
87 "configPkg/linker.cmd" \\r
88 "configPkg/compiler.opt" \r
89 GEN_MISC_DIRS__QUOTED += \\r
90 "configPkg/" \r
91 DEPEND_FILES = "main.d" "clk.d" "fil.d" "sys.d" "sysasnr.d" "sysbf.d" "sysbfflt.d" "sysdrc.d" "syseram.d" "sysiram.d" "sysmss.d" "mhm.d" "mss.d" "mssproc.d" \r
92 OBJECT_FILES = "main.obj" "clk.obj" "fil.obj" "sys.obj" "sysasnr.obj" "sysbf.obj" "sysbfflt.obj" "sysdrc.obj" "syseram.obj" "sysiram.obj" "sysmss.obj" "mhm.obj" "mss.obj" "mssproc.obj" \r
93 else\r
94 GEN_FILES__QUOTED += \\r
95 "configPkg\linker.cmd" \\r
96 "configPkg\compiler.opt" \r
97 GEN_MISC_DIRS__QUOTED += \\r
98 "configPkg" \r
99 DEPEND_FILES = "main.d" "clk.d" "fil.d" "sys.d" "sysasnr.d" "sysbf.d" "sysbfflt.d" "sysdrc.d" "syseram.d" "sysiram.d" "sysmss.d" "mhm.d" "mss.d" "mssproc.d" \r
100 OBJECT_FILES = "main.obj" "clk.obj" "fil.obj" "sys.obj" "sysasnr.obj" "sysbf.obj" "sysbfflt.obj" "sysdrc.obj" "syseram.obj" "sysiram.obj" "sysmss.obj" "mhm.obj" "mss.obj" "mssproc.obj" \r
101 endif\r
102 \r
103 C_DEPS__QUOTED += \\r
104 "main.d" \r
105 \r
106 OBJS__QUOTED += \\r
107 "main.obj" \r
108 \r
109 C_SRCS__QUOTED += \\r
110 "../main.c" \r
111 \r
112 \r
113 \r
114 ##-include components/subdir_vars.mk\r
115 C_SRCS += \\r
116 ../../../common/components/clk.c \\r
117 ../../../common/components/fil.c \\r
118 ../../../common/components/sys.c \\r
119 ../../../common/components/sysasnr.c \\r
120 ../../../common/components/sysbf.c \\r
121 ../../../common/components/sysbfflt.c \\r
122 ../../../common/components/sysdrc.c \\r
123 ../../../common/components/syseram.c \\r
124 ../../../common/components/sysiram.c \\r
125 ../../../common/components/sysmss.c \r
126 \r
127 OBJS += \\r
128 clk.obj \\r
129 fil.obj \\r
130 sys.obj \\r
131 sysasnr.obj \\r
132 sysbf.obj \\r
133 sysbfflt.obj \\r
134 sysdrc.obj \\r
135 syseram.obj \\r
136 sysiram.obj \\r
137 sysmss.obj \r
138 \r
139 C_DEPS += \\r
140 clk.d \\r
141 fil.d \\r
142 sys.d \\r
143 sysasnr.d \\r
144 sysbf.d \\r
145 sysbfflt.d \\r
146 sysdrc.d \\r
147 syseram.d \\r
148 sysiram.d \\r
149 sysmss.d \r
150 \r
151 C_DEPS__QUOTED += \\r
152 "clk.d" \\r
153 "fil.d" \\r
154 "sys.d" \\r
155 "sysasnr.d" \\r
156 "sysbf.d" \\r
157 "sysbfflt.d" \\r
158 "sysdrc.d" \\r
159 "syseram.d" \\r
160 "sysiram.d" \\r
161 "sysmss.d"\r
162 \r
163 OBJS__QUOTED += \\r
164 "clk.obj" \\r
165 "fil.obj" \\r
166 "sys.obj" \\r
167 "sysasnr.obj" \\r
168 "sysbf.obj" \\r
169 "sysbfflt.obj" \\r
170 "sysdrc.obj" \\r
171 "syseram.obj" \\r
172 "sysiram.obj" \\r
173 "sysmss.obj" \r
174 \r
175 C_SRCS__QUOTED += \\r
176 "../../../common/components/clk.c" \\r
177 "../../../common/components/fil.c" \\r
178 "../../../common/components/sys.c" \\r
179 "../../../common/components/sysasnr.c" \\r
180 "../../../common/components/sysbf.c" \\r
181 "../../../common/components/sysbfflt.c" \\r
182 "../../../common/components/sysdrc.c" \\r
183 "../../../common/components/syseram.c" \\r
184 "../../../common/components/sysiram.c" \\r
185 "../../../common/components/sysmss.c" \r
186 \r
187 \r
188 \r
189 ##-include components/mhm/src/subdir_vars.mk\r
190 C_SRCS += \\r
191 ../../../common/components/mhm/src/mhm.c \r
192 \r
193 OBJS += \\r
194 mhm.obj \r
195 \r
196 C_DEPS += \\r
197 mhm.d \r
198 \r
199 C_DEPS__QUOTED += \\r
200 "mhm.d" \r
201 \r
202 OBJS__QUOTED += \\r
203 "mhm.obj" \r
204 \r
205 C_SRCS__QUOTED += \\r
206 "../../../common/components/mhm/src/mhm.c" \r
207 \r
208 \r
209 \r
210 ##-include components/mss/src/subdir_vars.mk\r
211 C_SRCS += \\r
212 ../../../common/components/mss/src/mss.c \\r
213 ../../../common/components/mss/src/mssproc.c \r
214 \r
215 OBJS += \\r
216 mss.obj \\r
217 mssproc.obj \r
218 \r
219 C_DEPS += \\r
220 mss.d \\r
221 mssproc.d \r
222 \r
223 C_DEPS__QUOTED += \\r
224 "mss.d" \\r
225 "mssproc.d" \r
226 \r
227 OBJS__QUOTED += \\r
228 "mss.obj" \\r
229 "mssproc.obj" \r
230 \r
231 C_SRCS__QUOTED += \\r
232 "../../../common/components/mss/src/mss.c" \\r
233 "../../../common/components/mss/src/mssproc.c" \r
234 \r
235 \r
236 \r
237 ##-include subdir_rules.mk\r
238 configPkg/linker.cmd: ../app.cfg\r
239         @echo 'Building file: $<'\r
240         @echo 'Invoking: XDCtools'\r
241         "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(BIOS_INSTALL_PATH)/packages;$(VOLIB_INSTALL_PATH)/packages;$(UIA_INSTALL_PATH)/packages;$(XDAIS_INSTALL_PATH)/packages;$(XDAIS_INSTALL_PATH)/examples;../../platforms/packages;$(AER_INSTALL_PATH)/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p evmAM572XCustom -r debug -c "$(C6X_GEN_INSTALL_PATH)" --compileOptions "-g --optimize_with_debug" "$<"\r
242         @echo 'Finished building: $<'\r
243         @echo ' '\r
244 \r
245 configPkg/compiler.opt: | configPkg/linker.cmd\r
246 configPkg/: | configPkg/linker.cmd\r
247 \r
248 main.obj: ../main.c $(GEN_OPTS) $(GEN_HDRS)\r
249         @echo 'Building file: $<'\r
250         @echo 'Invoking: C6000 Compiler'\r
251         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"\r
252         @echo 'Finished building: $<'\r
253         @echo ' '\r
254 \r
255 \r
256 ##-include components/subdir_rules.mk\r
257 clk.obj: ../../../common/components/clk.c $(GEN_OPTS) $(GEN_HDRS)\r
258         @echo 'Building file: $<'\r
259         @echo 'Invoking: C6000 Compiler'\r
260         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="./clk.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
261         @echo 'Finished building: $<'\r
262         @echo ' '\r
263 \r
264 fil.obj: ../../../common/components/fil.c $(GEN_OPTS) $(GEN_HDRS)\r
265         @echo 'Building file: $<'\r
266         @echo 'Invoking: C6000 Compiler'\r
267         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="fil.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
268         @echo 'Finished building: $<'\r
269         @echo ' '\r
270 \r
271 sys.obj: ../../../common/components/sys.c $(GEN_OPTS) $(GEN_HDRS)\r
272         @echo 'Building file: $<'\r
273         @echo 'Invoking: C6000 Compiler'\r
274         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sys.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
275         @echo 'Finished building: $<'\r
276         @echo ' '\r
277 \r
278 sysasnr.obj: ../../../common/components/sysasnr.c $(GEN_OPTS) $(GEN_HDRS)\r
279         @echo 'Building file: $<'\r
280         @echo 'Invoking: C6000 Compiler'\r
281         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysasnr.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
282         @echo 'Finished building: $<'\r
283         @echo ' '\r
284 \r
285 sysbf.obj: ../../../common/components/sysbf.c $(GEN_OPTS) $(GEN_HDRS)\r
286         @echo 'Building file: $<'\r
287         @echo 'Invoking: C6000 Compiler'\r
288         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysbf.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
289         @echo 'Finished building: $<'\r
290         @echo ' '\r
291 \r
292 sysbfflt.obj: ../../../common/components/sysbfflt.c $(GEN_OPTS) $(GEN_HDRS)\r
293         @echo 'Building file: $<'\r
294         @echo 'Invoking: C6000 Compiler'\r
295         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysbfflt.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
296         @echo 'Finished building: $<'\r
297         @echo ' '\r
298 \r
299 sysdrc.obj: ../../../common/components/sysdrc.c $(GEN_OPTS) $(GEN_HDRS)\r
300         @echo 'Building file: $<'\r
301         @echo 'Invoking: C6000 Compiler'\r
302         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysdrc.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
303         @echo 'Finished building: $<'\r
304         @echo ' '\r
305 \r
306 syseram.obj: ../../../common/components/syseram.c $(GEN_OPTS) $(GEN_HDRS)\r
307         @echo 'Building file: $<'\r
308         @echo 'Invoking: C6000 Compiler'\r
309         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="syseram.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
310         @echo 'Finished building: $<'\r
311         @echo ' '\r
312 \r
313 sysiram.obj: ../../../common/components/sysiram.c $(GEN_OPTS) $(GEN_HDRS)\r
314         @echo 'Building file: $<'\r
315         @echo 'Invoking: C6000 Compiler'\r
316         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysiram.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
317         @echo 'Finished building: $<'\r
318         @echo ' '\r
319 \r
320 sysmss.obj: ../../../common/components/sysmss.c $(GEN_OPTS) $(GEN_HDRS)\r
321         @echo 'Building file: $<'\r
322         @echo 'Invoking: C6000 Compiler'\r
323         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="sysmss.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
324         @echo 'Finished building: $<'\r
325         @echo ' '\r
326 \r
327 \r
328 \r
329 ##-include components/mhm/src/subdir_rules.mk\r
330 mhm.obj: ../../../common/components/mhm/src/mhm.c $(GEN_OPTS) $(GEN_HDRS)\r
331         @echo 'Building file: $<'\r
332         @echo 'Invoking: C6000 Compiler'\r
333         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="mhm.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
334         @echo 'Finished building: $<'\r
335         @echo ' '\r
336 \r
337 \r
338 \r
339 ##-include components/mss/src/subdir_rules.mk\r
340 mss.obj: ../../../common/components/mss/src/mss.c $(GEN_OPTS) $(GEN_HDRS)\r
341         @echo 'Building file: $<'\r
342         @echo 'Invoking: C6000 Compiler'\r
343         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="mss.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
344         @echo 'Finished building: $<'\r
345         @echo ' '\r
346 \r
347 mssproc.obj: ../../../common/components/mss/src/mssproc.c $(GEN_OPTS) $(GEN_HDRS)\r
348         @echo 'Building file: $<'\r
349         @echo 'Invoking: C6000 Compiler'\r
350         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="../../../common/components" --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="mssproc.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
351         @echo 'Finished building: $<'\r
352         @echo ' '\r
353         \r
354 \r
355 \r
356 ##-include objects.mk\r
357 USER_OBJS :=\r
358 \r
359 LIBS := -laer_c.ae64P -lvau/lib/vau_c.ae66 -lvpe/lib/vpe_a.ae66 -lvpe/lib/vpe_c.ae66 -lutil/lib/util_c.ae66 -lmhm/lib/mhm_c.ae66 -llibc.a\r
360 \r
361 \r
362 \r
363 ifneq ($(MAKECMDGOALS),clean)\r
364 ifneq ($(strip $(S_DEPS)),)\r
365 -include $(S_DEPS)\r
366 endif\r
367 ifneq ($(strip $(S_UPPER_DEPS)),)\r
368 -include $(S_UPPER_DEPS)\r
369 endif\r
370 ifneq ($(strip $(S62_DEPS)),)\r
371 -include $(S62_DEPS)\r
372 endif\r
373 ifneq ($(strip $(C64_DEPS)),)\r
374 -include $(C64_DEPS)\r
375 endif\r
376 ifneq ($(strip $(ASM_DEPS)),)\r
377 -include $(ASM_DEPS)\r
378 endif\r
379 ifneq ($(strip $(CC_DEPS)),)\r
380 -include $(CC_DEPS)\r
381 endif\r
382 ifneq ($(strip $(SV7A_DEPS)),)\r
383 -include $(SV7A_DEPS)\r
384 endif\r
385 ifneq ($(strip $(S55_DEPS)),)\r
386 -include $(S55_DEPS)\r
387 endif\r
388 ifneq ($(strip $(C67_DEPS)),)\r
389 -include $(C67_DEPS)\r
390 endif\r
391 ifneq ($(strip $(CLA_DEPS)),)\r
392 -include $(CLA_DEPS)\r
393 endif\r
394 ifneq ($(strip $(C??_DEPS)),)\r
395 -include $(C??_DEPS)\r
396 endif\r
397 ifneq ($(strip $(CPP_DEPS)),)\r
398 -include $(CPP_DEPS)\r
399 endif\r
400 ifneq ($(strip $(S??_DEPS)),)\r
401 -include $(S??_DEPS)\r
402 endif\r
403 ifneq ($(strip $(C_DEPS)),)\r
404 -include $(C_DEPS)\r
405 endif\r
406 ifneq ($(strip $(C62_DEPS)),)\r
407 -include $(C62_DEPS)\r
408 endif\r
409 ifneq ($(strip $(CXX_DEPS)),)\r
410 -include $(CXX_DEPS)\r
411 endif\r
412 ifneq ($(strip $(C++_DEPS)),)\r
413 -include $(C++_DEPS)\r
414 endif\r
415 ifneq ($(strip $(ASM_UPPER_DEPS)),)\r
416 -include $(ASM_UPPER_DEPS)\r
417 endif\r
418 ifneq ($(strip $(K_DEPS)),)\r
419 -include $(K_DEPS)\r
420 endif\r
421 ifneq ($(strip $(C43_DEPS)),)\r
422 -include $(C43_DEPS)\r
423 endif\r
424 ifneq ($(strip $(INO_DEPS)),)\r
425 -include $(INO_DEPS)\r
426 endif\r
427 ifneq ($(strip $(S67_DEPS)),)\r
428 -include $(S67_DEPS)\r
429 endif\r
430 ifneq ($(strip $(SA_DEPS)),)\r
431 -include $(SA_DEPS)\r
432 endif\r
433 ifneq ($(strip $(S43_DEPS)),)\r
434 -include $(S43_DEPS)\r
435 endif\r
436 ifneq ($(strip $(OPT_DEPS)),)\r
437 -include $(OPT_DEPS)\r
438 endif\r
439 ifneq ($(strip $(PDE_DEPS)),)\r
440 -include $(PDE_DEPS)\r
441 endif\r
442 ifneq ($(strip $(S64_DEPS)),)\r
443 -include $(S64_DEPS)\r
444 endif\r
445 ifneq ($(strip $(C_UPPER_DEPS)),)\r
446 -include $(C_UPPER_DEPS)\r
447 endif\r
448 ifneq ($(strip $(C55_DEPS)),)\r
449 -include $(C55_DEPS)\r
450 endif\r
451 endif\r
452 \r
453 -include ../makefile.defs\r
454 \r
455 # Add inputs and outputs from these tool invocations to the build variables \r
456 EXE_OUTPUTS += \
457 AM572x_bf.out \
458 \r
459 EXE_OUTPUTS__QUOTED += \
460 "AM572x_bf.out" \
461 \r
462 BIN_OUTPUTS += \
463 AM572x_bf.hex \
464 \r
465 BIN_OUTPUTS__QUOTED += \
466 "AM572x_bf.hex" \
467 \r
468 \r
469 # All Target\r
470 all: AM572x_bf.out\r
471 \r
472 # Tool invocations\r
473 AM572x_bf.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)\r
474         @echo 'Building target: $@'\r
475         @echo 'Invoking: C6000 Linker'\r
476         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 -g --define=am5728 --define=core1 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"AM572x_bf.map" --heap_size=0x800 --stack_size=0x800 -i"$(AER_INSTALL_PATH)/packages/ti/mas/aer/lib" -i"$(VOLIB_INSTALL_PATH)/packages/ti/mas/" -i"$(C6X_GEN_INSTALL_PATH)/lib" -i"$(C6X_GEN_INSTALL_PATH)/include" --reread_libs --define=CORE1=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="AM572x_bf_linkInfo.xml" --rom_model -o "AM572x_bf.out" $(ORDERED_OBJS)\r
477         @echo 'Finished building target: $@'\r
478         @echo ' '\r
479 \r
480 AM572x_bf.hex: $(EXE_OUTPUTS)\r
481         @echo 'Invoking: C6000 Hex Utility'\r
482         "$(C6X_GEN_INSTALL_PATH)/bin/hex6x"  -o "AM572x_bf.hex" $(EXE_OUTPUTS__QUOTED)\r
483         @echo 'Finished building: $@'\r
484         @echo ' '\r
485 \r
486 # Other Targets\r
487 clean:\r
488         -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)$(GEN_CMDS__QUOTED)\r
489         -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)\r
490         -$(RM) ${DEPEND_FILES} \r
491         -$(RM) ${OBJECT_FILES}\r
492         -@echo 'Finished clean'\r
493         -@echo ' '\r
494 \r
495 .PHONY: all clean dependents\r
496 .SECONDARY:\r
497 \r
498 -include ../makefile.targets\r
499 \r