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