5af2612844df636482585ec69c45e75e4061fd41
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Debug / makefile_linux
1 ifndef MAKE
2 export MAKE = make
3 endif
5 ifndef ECHO
6 export ECHO = echo
7 endif
9 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
10 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
12 ORDERED_OBJS += \
13 "./EcTimer.o" \
14 "./I2C_soc.o" \
15 "./UART_soc.o" \
16 "./main.o" \
17 "./EcMasterDemo/ATEMDemo.o" \
18 "./EcMasterDemo/ATEMDemoMain.o" \
19 "./EcMasterDemo/Logging.o" \
20 "./EcMasterDemo/ecatDemoCommon.o" \
21 "./EcMasterDemo/ecatNotification.o" \
22 "./EcMasterDemo/selectLinkLayer.o" \
23 "./eni/MasterENI.o" \
24 $(GEN_CMDS__FLAG) \
25 -Wl,--start-group \
26 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" \
27 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV2.cmd" \
28 -lc \
29 -lrdimon \
30 -lgcc \
31 -lm \
32 -lnosys \
33 -lstdc++ \
34 -lEcMaster \
35 -lemllICSS \
36 -lemllCPSW \
37 -l:os.aa15fg \
38 -l:sysbios.aa15fg \
39 -l:ti.drv.pruss.aa15fg \
40 -l:ti.drv.icss_emac.aa15fg \
41 -Wl,--end-group \
43 OS := $(shell uname)
44 ifeq ($(OS), Linux)
45 RM := rm -f
46 RMDIR := rm -f -r
47 else
48 RM := rm -f
49 RMDIR := rm -r -f
50 endif
52 # All of the sources participating in the build are defined here
53 #-include sources.mk
54 SUBDIRS := \
55 . \
56 EcMasterDemo \
57 eni \
60 #-include subdir_vars.mk
61 CFG_SRCS += \
62 ../EcMaster.cfg
64 CPP_SRCS += \
65 ../../../../Sources/Common/EcTimer.cpp
67 C_SRCS += \
68 $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \
69 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
70 ../../common/main.c
72 GEN_CMDS += \
73 ./configPkg/linker.cmd
75 GEN_FILES += \
76 ./configPkg/linker.cmd \
77 ./configPkg/compiler.opt
79 GEN_MISC_DIRS += \
80 ./configPkg/
82 C_DEPS += \
83 ./I2C_soc.d \
84 ./UART_soc.d \
85 ./main.d
87 GEN_OPTS += \
88 ./configPkg/compiler.opt
90 OBJS += \
91 ./EcTimer.o \
92 ./I2C_soc.o \
93 ./UART_soc.o \
94 ./main.o
96 CPP_DEPS += \
97 ./EcTimer.d
99 GEN_MISC_DIRS__QUOTED += \
100 "configPkg\"
102 OBJS__QUOTED += \
103 "EcTimer.o" \
104 "I2C_soc.o" \
105 "UART_soc.o" \
106 "main.o"
108 C_DEPS__QUOTED += \
109 "I2C_soc.d" \
110 "UART_soc.d" \
111 "main.d"
113 CPP_DEPS__QUOTED += \
114 "EcTimer.d"
116 GEN_FILES__QUOTED += \
117 "configPkg\linker.cmd" \
118 "configPkg\compiler.opt"
120 C_SRCS__QUOTED += \
121 "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \
122 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
123 "../../common/main.c"
125 CPP_SRCS__QUOTED += \
126 "../../../../Sources/Common/EcTimer.cpp"
129 #-include EcMasterDemo/subdir_vars.mk
130 CPP_SRCS += \
131 ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \
132 ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \
133 ../../../../Examples/EcMasterDemo/Logging.cpp \
134 ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \
135 ../../../../Examples/EcMasterDemo/ecatNotification.cpp \
136 ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp
138 OBJS += \
139 ./EcMasterDemo/ATEMDemo.o \
140 ./EcMasterDemo/ATEMDemoMain.o \
141 ./EcMasterDemo/Logging.o \
142 ./EcMasterDemo/ecatDemoCommon.o \
143 ./EcMasterDemo/ecatNotification.o \
144 ./EcMasterDemo/selectLinkLayer.o
146 CPP_DEPS += \
147 ./EcMasterDemo/ATEMDemo.d \
148 ./EcMasterDemo/ATEMDemoMain.d \
149 ./EcMasterDemo/Logging.d \
150 ./EcMasterDemo/ecatDemoCommon.d \
151 ./EcMasterDemo/ecatNotification.d \
152 ./EcMasterDemo/selectLinkLayer.d
154 OBJS__QUOTED += \
155 "EcMasterDemo\ATEMDemo.o" \
156 "EcMasterDemo\ATEMDemoMain.o" \
157 "EcMasterDemo\Logging.o" \
158 "EcMasterDemo\ecatDemoCommon.o" \
159 "EcMasterDemo\ecatNotification.o" \
160 "EcMasterDemo\selectLinkLayer.o"
162 CPP_DEPS__QUOTED += \
163 "EcMasterDemo\ATEMDemo.d" \
164 "EcMasterDemo\ATEMDemoMain.d" \
165 "EcMasterDemo\Logging.d" \
166 "EcMasterDemo\ecatDemoCommon.d" \
167 "EcMasterDemo\ecatNotification.d" \
168 "EcMasterDemo\selectLinkLayer.d"
170 CPP_SRCS__QUOTED += \
171 "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \
172 "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \
173 "../../../../Examples/EcMasterDemo/Logging.cpp" \
174 "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \
175 "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \
176 "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp"
179 #-include eni/subdir_vars.mk
180 C_SRCS += \
181 ../eni/MasterENI.c
183 C_DEPS += \
184 ./eni/MasterENI.d
186 OBJS += \
187 ./eni/MasterENI.o
189 OBJS__QUOTED += \
190 "eni\MasterENI.o"
192 C_DEPS__QUOTED += \
193 "eni\MasterENI.d"
195 C_SRCS__QUOTED += \
196 "../eni/MasterENI.c"
199 #-include subdir_rules.mk
201 configPkg/linker.cmd: ../EcMaster.cfg
202 @echo 'Building file: $<'
203 @echo 'Invoking: XDCtools'
204 "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(BIOS_INSTALL_PATH)/packages;$(PDK_INSTALL_PATH);" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.idkAM572X -r debug -b "$(PDK_INSTALL_PATH)/ti/build/am572x/config_am572x_a15.bld" -c "$(TOOLCHAIN_PATH_A15)" -DBOARD=idkAM572x "$<"
205 @echo 'Finished building: $<'
206 @echo ' '
208 configPkg/compiler.opt: | configPkg/linker.cmd
209 configPkg/: | configPkg/linker.cmd
211 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
212 @echo 'Building file: $<'
213 @echo 'Invoking: GNU Compiler'
214 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
215 @echo 'Finished building: $<'
216 @echo ' '
218 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
219 @echo 'Building file: $<'
220 @echo 'Invoking: GNU Compiler'
221 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
222 @echo 'Finished building: $<'
223 @echo ' '
225 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
226 @echo 'Building file: $<'
227 @echo 'Invoking: GNU Compiler'
228 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
229 @echo 'Finished building: $<'
230 @echo ' '
232 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
233 @echo 'Building file: $<'
234 @echo 'Invoking: GNU Compiler'
235 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
236 @echo 'Finished building: $<'
237 @echo ' '
240 #-include EcMasterDemo/subdir_rules.mk
241 # Each subdirectory must supply rules for building sources it contributes
242 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
243 @echo 'Building file: $<'
244 @echo 'Invoking: GNU Compiler'
245 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
246 @echo 'Finished building: $<'
247 @echo ' '
249 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
250 @echo 'Building file: $<'
251 @echo 'Invoking: GNU Compiler'
252 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
253 @echo 'Finished building: $<'
254 @echo ' '
256 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
257 @echo 'Building file: $<'
258 @echo 'Invoking: GNU Compiler'
259 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
260 @echo 'Finished building: $<'
261 @echo ' '
263 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
264 @echo 'Building file: $<'
265 @echo 'Invoking: GNU Compiler'
266 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
267 @echo 'Finished building: $<'
268 @echo ' '
270 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
271 @echo 'Building file: $<'
272 @echo 'Invoking: GNU Compiler'
273 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
274 @echo 'Finished building: $<'
275 @echo ' '
277 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
278 @echo 'Building file: $<'
279 @echo 'Invoking: GNU Compiler'
280 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
281 @echo 'Finished building: $<'
282 @echo ' '
285 #-include eni/subdir_rules.mk
286 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
287 @echo 'Building file: $<'
288 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -I"$(PDK_INSTALL_PATH)" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/sysbios" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
289 @echo 'Finished building: $<'
290 @echo ' '
293 #-include objects.mk
294 USER_OBJS :=
296 LIBS := -lc -lrdimon -lgcc -lm -lnosys -lstdc++ -lEcMaster -lemllICSS -lemllCPSW -l:os.aa15fg -l:sysbios.aa15fg -l:ti.drv.pruss.aa15fg -l:ti.drv.icss_emac.aa15fg
298 ifneq ($(MAKECMDGOALS),clean)
299 ifneq ($(strip $(C55_DEPS)),)
300 -include $(C55_DEPS)
301 endif
302 ifneq ($(strip $(C_UPPER_DEPS)),)
303 -include $(C_UPPER_DEPS)
304 endif
305 ifneq ($(strip $(S67_DEPS)),)
306 -include $(S67_DEPS)
307 endif
308 ifneq ($(strip $(S62_DEPS)),)
309 -include $(S62_DEPS)
310 endif
311 ifneq ($(strip $(S_DEPS)),)
312 -include $(S_DEPS)
313 endif
314 ifneq ($(strip $(OPT_DEPS)),)
315 -include $(OPT_DEPS)
316 endif
317 ifneq ($(strip $(C??_DEPS)),)
318 -include $(C??_DEPS)
319 endif
320 ifneq ($(strip $(ASM_UPPER_DEPS)),)
321 -include $(ASM_UPPER_DEPS)
322 endif
323 ifneq ($(strip $(S??_DEPS)),)
324 -include $(S??_DEPS)
325 endif
326 ifneq ($(strip $(C64_DEPS)),)
327 -include $(C64_DEPS)
328 endif
329 ifneq ($(strip $(CXX_DEPS)),)
330 -include $(CXX_DEPS)
331 endif
332 ifneq ($(strip $(S64_DEPS)),)
333 -include $(S64_DEPS)
334 endif
335 ifneq ($(strip $(INO_DEPS)),)
336 -include $(INO_DEPS)
337 endif
338 ifneq ($(strip $(CLA_DEPS)),)
339 -include $(CLA_DEPS)
340 endif
341 ifneq ($(strip $(S55_DEPS)),)
342 -include $(S55_DEPS)
343 endif
344 ifneq ($(strip $(SV7A_DEPS)),)
345 -include $(SV7A_DEPS)
346 endif
347 ifneq ($(strip $(C62_DEPS)),)
348 -include $(C62_DEPS)
349 endif
350 ifneq ($(strip $(C67_DEPS)),)
351 -include $(C67_DEPS)
352 endif
353 ifneq ($(strip $(PDE_DEPS)),)
354 -include $(PDE_DEPS)
355 endif
356 ifneq ($(strip $(K_DEPS)),)
357 -include $(K_DEPS)
358 endif
359 ifneq ($(strip $(C_DEPS)),)
360 -include $(C_DEPS)
361 endif
362 ifneq ($(strip $(CC_DEPS)),)
363 -include $(CC_DEPS)
364 endif
365 ifneq ($(strip $(C++_DEPS)),)
366 -include $(C++_DEPS)
367 endif
368 ifneq ($(strip $(C43_DEPS)),)
369 -include $(C43_DEPS)
370 endif
371 ifneq ($(strip $(S43_DEPS)),)
372 -include $(S43_DEPS)
373 endif
374 ifneq ($(strip $(ASM_DEPS)),)
375 -include $(ASM_DEPS)
376 endif
377 ifneq ($(strip $(S_UPPER_DEPS)),)
378 -include $(S_UPPER_DEPS)
379 endif
380 ifneq ($(strip $(CPP_DEPS)),)
381 -include $(CPP_DEPS)
382 endif
383 ifneq ($(strip $(SA_DEPS)),)
384 -include $(SA_DEPS)
385 endif
386 endif
388 #-include ../makefile.defs
390 # Add inputs and outputs from these tool invocations to the build variables
391 EXE_OUTPUTS += \
392 EcMasterDemo.out \
394 EXE_OUTPUTS__QUOTED += \
395 "EcMasterDemo.out" \
397 BIN_OUTPUTS += \
398 EcMasterDemo.hex \
400 BIN_OUTPUTS__QUOTED += \
401 "EcMasterDemo.hex" \
404 # All Target
405 all: EcLib EcMasterDemo.out
408 # Tool invocations
409 EcLib:
410 @$(MAKE) --no-print-directory -C ../../emllICSS/Debug all
412 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
413 @echo 'Building target: $@'
414 @echo 'Invoking: GNU Linker'
415 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -mtune=cortex-a15 -marm -DLINKLAYER_ICSS -DDEBUG -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -Dcore0 -DidkAM572x -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -finstrument-functions -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -L"$(PDK_INSTALL_PATH)/ti/drv/pruss/lib/am572x/a15/release" -L"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/lib/am572x/a15/release" -L"$(NDK_INSTALL_PATH)/packages/ti/ndk/os/lib" -L"../src/sysbios" -L"../../../../SDK/LIB/SYSBIOS/am572x/Debug/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -static $(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/bin/am572x/a15_0/REV1/icss_dualemac_PRU0.bin $(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/bin/am572x/a15_0/REV1/icss_dualemac_PRU1.bin $(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/bin/am572x/a15_0/REV2/icss_dualemac_PRU0.bin $(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/bin/am572x/a15_0/REV2/icss_dualemac_PRU1.bin -o"EcMasterDemo.out" $(ORDERED_OBJS)
416 @echo 'Finished building target: $@'
417 @echo ' '
419 EcMasterDemo.hex: $(EXE_OUTPUTS)
420 @echo 'Invoking: GNU Objcopy Utility'
421 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy" $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
422 @echo 'Finished building: $@'
423 @echo ' '
425 # Other Targets
426 clean:
427 @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean
428 -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
429 -$(RMDIR) $(GEN_MISC_DIRS)
430 -$(RM) EcTimer.o I2C_soc.o UART_soc.o main.o EcMasterDemo/ATEMDemo.o EcMasterDemo/ATEMDemoMain.o EcMasterDemo/Logging.o EcMasterDemo/ecatDemoCommon.o EcMasterDemo/ecatNotification.o EcMasterDemo/selectLinkLayer.o eni/MasterENI.o
431 -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d
432 -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map
433 -@echo 'Finished clean'
434 -@echo ' ''
436 .PHONY: all clean dependents
437 .SECONDARY:
439 #-include ../makefile.targets