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