]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0079.git/blob - EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile_win
Adding rules.make to makefiles - PSDK5.0
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Debug / makefile_win
1 ifeq ($(RULES_MAKE), )
2 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
3 else
4 include $(RULES_MAKE)
5 endif
7 ifndef MAKE
8 export MAKE = gmake
9 endif
10 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
11 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
13 ORDERED_OBJS += \
14 "./EcTimer.o" \
15 "./I2C_soc.o" \
16 "./UART_soc.o" \
17 "./main.o" \
18 "./EcMasterDemo/ATEMDemo.o" \
19 "./EcMasterDemo/ATEMDemoMain.o" \
20 "./EcMasterDemo/Logging.o" \
21 "./EcMasterDemo/ecatDemoCommon.o" \
22 "./EcMasterDemo/ecatNotification.o" \
23 "./EcMasterDemo/selectLinkLayer.o" \
24 "./eni/MasterENI.o" \
25 $(GEN_CMDS__FLAG) \
26 -Wl,--start-group \
27 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" \
28 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV2.cmd" \
29 -lc \
30 -lrdimon \
31 -lgcc \
32 -lm \
33 -lnosys \
34 -lstdc++ \
35 -lEcMaster \
36 -lemllICSS \
37 -lemllCPSW \
38 -l:os.aa15fg \
39 -l:sysbios.aa15fg \
40 -l:ti.drv.pruss.aa15fg \
41 -l:ti.drv.icss_emac.aa15fg \
42 -Wl,--end-group \
44 OS := $(shell uname)
45 ifeq ($(OS), Linux)
46 RM := rm -f
47 RMDIR := rm -d -f -r
48 else
49 RM := rm -f
50 RMDIR := rm -r -f
51 endif
53 # All of the sources participating in the build are defined here
54 #-include sources.mk
55 SUBDIRS := \
56 . \
57 EcMasterDemo \
58 eni \
61 #-include subdir_vars.mk
62 CFG_SRCS += \
63 ../EcMaster.cfg 
65 CPP_SRCS += \
66 ../../../../Sources/Common/EcTimer.cpp 
68 C_SRCS += \
69 $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \
70 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
71 ../../common/main.c 
73 GEN_CMDS += \
74 ./configPkg/linker.cmd 
76 GEN_FILES += \
77 ./configPkg/linker.cmd \
78 ./configPkg/compiler.opt 
80 GEN_MISC_DIRS += \
81 ./configPkg/ 
83 C_DEPS += \
84 ./I2C_soc.d \
85 ./UART_soc.d \
86 ./main.d 
88 GEN_OPTS += \
89 ./configPkg/compiler.opt 
91 OBJS += \
92 ./EcTimer.o \
93 ./I2C_soc.o \
94 ./UART_soc.o \
95 ./main.o 
97 CPP_DEPS += \
98 ./EcTimer.d 
100 GEN_MISC_DIRS__QUOTED += \
101 "configPkg\" 
103 OBJS__QUOTED += \
104 "EcTimer.o" \
105 "I2C_soc.o" \
106 "UART_soc.o" \
107 "main.o" 
109 C_DEPS__QUOTED += \
110 "I2C_soc.d" \
111 "UART_soc.d" \
112 "main.d" 
114 CPP_DEPS__QUOTED += \
115 "EcTimer.d" 
117 GEN_FILES__QUOTED += \
118 "configPkg\linker.cmd" \
119 "configPkg\compiler.opt" 
121 C_SRCS__QUOTED += \
122 "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \
123 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
124 "../../common/main.c" 
126 CPP_SRCS__QUOTED += \
127 "../../../../Sources/Common/EcTimer.cpp" 
130 #-include EcMasterDemo/subdir_vars.mk
131 CPP_SRCS += \
132 ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \
133 ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \
134 ../../../../Examples/EcMasterDemo/Logging.cpp \
135 ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \
136 ../../../../Examples/EcMasterDemo/ecatNotification.cpp \
137 ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp 
139 OBJS += \
140 ./EcMasterDemo/ATEMDemo.o \
141 ./EcMasterDemo/ATEMDemoMain.o \
142 ./EcMasterDemo/Logging.o \
143 ./EcMasterDemo/ecatDemoCommon.o \
144 ./EcMasterDemo/ecatNotification.o \
145 ./EcMasterDemo/selectLinkLayer.o 
147 CPP_DEPS += \
148 ./EcMasterDemo/ATEMDemo.d \
149 ./EcMasterDemo/ATEMDemoMain.d \
150 ./EcMasterDemo/Logging.d \
151 ./EcMasterDemo/ecatDemoCommon.d \
152 ./EcMasterDemo/ecatNotification.d \
153 ./EcMasterDemo/selectLinkLayer.d 
155 OBJS__QUOTED += \
156 "EcMasterDemo\ATEMDemo.o" \
157 "EcMasterDemo\ATEMDemoMain.o" \
158 "EcMasterDemo\Logging.o" \
159 "EcMasterDemo\ecatDemoCommon.o" \
160 "EcMasterDemo\ecatNotification.o" \
161 "EcMasterDemo\selectLinkLayer.o" 
163 CPP_DEPS__QUOTED += \
164 "EcMasterDemo\ATEMDemo.d" \
165 "EcMasterDemo\ATEMDemoMain.d" \
166 "EcMasterDemo\Logging.d" \
167 "EcMasterDemo\ecatDemoCommon.d" \
168 "EcMasterDemo\ecatNotification.d" \
169 "EcMasterDemo\selectLinkLayer.d" 
171 CPP_SRCS__QUOTED += \
172 "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \
173 "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \
174 "../../../../Examples/EcMasterDemo/Logging.cpp" \
175 "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \
176 "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \
177 "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp" 
180 #-include eni/subdir_vars.mk
181 C_SRCS += \
182 ../eni/MasterENI.c 
184 C_DEPS += \
185 ./eni/MasterENI.d 
187 OBJS += \
188 ./eni/MasterENI.o 
190 OBJS__QUOTED += \
191 "eni\MasterENI.o" 
193 C_DEPS__QUOTED += \
194 "eni\MasterENI.d" 
196 C_SRCS__QUOTED += \
197 "../eni/MasterENI.c" 
200 #-include subdir_rules.mk
202 configPkg/linker.cmd: ../EcMaster.cfg
203         @echo 'Building file: $<'
204         @echo 'Invoking: XDCtools'
205         "$(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 "$<"
206         @echo 'Finished building: $<'
207         @echo ' '
209 configPkg/compiler.opt: | configPkg/linker.cmd
210 configPkg/: | configPkg/linker.cmd
212 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
213         @echo 'Building file: $<'
214         @echo 'Invoking: GNU Compiler'
215         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
216         @echo 'Finished building: $<'
217         @echo ' '
219 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
220         @echo 'Building file: $<'
221         @echo 'Invoking: GNU Compiler'
222         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
223         @echo 'Finished building: $<'
224         @echo ' '
226 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
227         @echo 'Building file: $<'
228         @echo 'Invoking: GNU Compiler'
229         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
230         @echo 'Finished building: $<'
231         @echo ' '
233 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
234         @echo 'Building file: $<'
235         @echo 'Invoking: GNU Compiler'
236         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
237         @echo 'Finished building: $<'
238         @echo ' '
241 #-include EcMasterDemo/subdir_rules.mk
242 # Each subdirectory must supply rules for building sources it contributes
243 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
244         @echo 'Building file: $<'
245         @echo 'Invoking: GNU Compiler'
246         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
247         @echo 'Finished building: $<'
248         @echo ' '
250 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
251         @echo 'Building file: $<'
252         @echo 'Invoking: GNU Compiler'
253         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
254         @echo 'Finished building: $<'
255         @echo ' '
257 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
258         @echo 'Building file: $<'
259         @echo 'Invoking: GNU Compiler'
260         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
261         @echo 'Finished building: $<'
262         @echo ' '
264 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
265         @echo 'Building file: $<'
266         @echo 'Invoking: GNU Compiler'
267         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
268         @echo 'Finished building: $<'
269         @echo ' '
271 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
272         @echo 'Building file: $<'
273         @echo 'Invoking: GNU Compiler'
274         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
275         @echo 'Finished building: $<'
276         @echo ' '
278 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
279         @echo 'Building file: $<'
280         @echo 'Invoking: GNU Compiler'
281         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
282         @echo 'Finished building: $<'
283         @echo ' '
286 #-include eni/subdir_rules.mk
287 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
288         @echo 'Building file: $<'
289         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -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) "$<"
290         @echo 'Finished building: $<'
291         @echo ' '
294 #-include objects.mk
295 USER_OBJS :=
297 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
299 ifneq ($(MAKECMDGOALS),clean)
300 ifneq ($(strip $(C55_DEPS)),)
301 -include $(C55_DEPS)
302 endif
303 ifneq ($(strip $(C_UPPER_DEPS)),)
304 -include $(C_UPPER_DEPS)
305 endif
306 ifneq ($(strip $(S67_DEPS)),)
307 -include $(S67_DEPS)
308 endif
309 ifneq ($(strip $(S62_DEPS)),)
310 -include $(S62_DEPS)
311 endif
312 ifneq ($(strip $(S_DEPS)),)
313 -include $(S_DEPS)
314 endif
315 ifneq ($(strip $(OPT_DEPS)),)
316 -include $(OPT_DEPS)
317 endif
318 ifneq ($(strip $(C??_DEPS)),)
319 -include $(C??_DEPS)
320 endif
321 ifneq ($(strip $(ASM_UPPER_DEPS)),)
322 -include $(ASM_UPPER_DEPS)
323 endif
324 ifneq ($(strip $(S??_DEPS)),)
325 -include $(S??_DEPS)
326 endif
327 ifneq ($(strip $(C64_DEPS)),)
328 -include $(C64_DEPS)
329 endif
330 ifneq ($(strip $(CXX_DEPS)),)
331 -include $(CXX_DEPS)
332 endif
333 ifneq ($(strip $(S64_DEPS)),)
334 -include $(S64_DEPS)
335 endif
336 ifneq ($(strip $(INO_DEPS)),)
337 -include $(INO_DEPS)
338 endif
339 ifneq ($(strip $(CLA_DEPS)),)
340 -include $(CLA_DEPS)
341 endif
342 ifneq ($(strip $(S55_DEPS)),)
343 -include $(S55_DEPS)
344 endif
345 ifneq ($(strip $(SV7A_DEPS)),)
346 -include $(SV7A_DEPS)
347 endif
348 ifneq ($(strip $(C62_DEPS)),)
349 -include $(C62_DEPS)
350 endif
351 ifneq ($(strip $(C67_DEPS)),)
352 -include $(C67_DEPS)
353 endif
354 ifneq ($(strip $(PDE_DEPS)),)
355 -include $(PDE_DEPS)
356 endif
357 ifneq ($(strip $(K_DEPS)),)
358 -include $(K_DEPS)
359 endif
360 ifneq ($(strip $(C_DEPS)),)
361 -include $(C_DEPS)
362 endif
363 ifneq ($(strip $(CC_DEPS)),)
364 -include $(CC_DEPS)
365 endif
366 ifneq ($(strip $(C++_DEPS)),)
367 -include $(C++_DEPS)
368 endif
369 ifneq ($(strip $(C43_DEPS)),)
370 -include $(C43_DEPS)
371 endif
372 ifneq ($(strip $(S43_DEPS)),)
373 -include $(S43_DEPS)
374 endif
375 ifneq ($(strip $(ASM_DEPS)),)
376 -include $(ASM_DEPS)
377 endif
378 ifneq ($(strip $(S_UPPER_DEPS)),)
379 -include $(S_UPPER_DEPS)
380 endif
381 ifneq ($(strip $(CPP_DEPS)),)
382 -include $(CPP_DEPS)
383 endif
384 ifneq ($(strip $(SA_DEPS)),)
385 -include $(SA_DEPS)
386 endif
387 endif
389 #-include ../makefile.defs
391 # Add inputs and outputs from these tool invocations to the build variables 
392 EXE_OUTPUTS += \
393 EcMasterDemo.out \
395 EXE_OUTPUTS__QUOTED += \
396 "EcMasterDemo.out" \
398 BIN_OUTPUTS += \
399 EcMasterDemo.hex \
401 BIN_OUTPUTS__QUOTED += \
402 "EcMasterDemo.hex" \
405 # All Target
406 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.exe" -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 ' '
418         @$(MAKE) --no-print-directory post-build
420 EcMasterDemo.hex: $(EXE_OUTPUTS)
421         @echo 'Invoking: GNU Objcopy Utility'
422         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
423         @echo 'Finished building: $@'
424         @echo ' '
425         @$(MAKE) --no-print-directory post-build
427 # Other Targets
428 clean:
429         @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean     
430         -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
431         -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
432         -$(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" 
433         -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d" 
434         -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d" 
435         -$(RM) "app" "EcMasterDemo.out.rprc" "EcMasterDemo.map"
436         -@echo 'Finished clean'
437         -@echo ' '
439 post-build:
440         -$(PDK_INSTALL_PATH)/pdkAppImageCreate.bat $(PDK_INSTALL_PATH) $(TOOLCHAIN_PATH_A15) ../Debug EcMasterDemo AM572x arm
441         -@echo 'Finished post-build'
442         -@echo ' '
444 .PHONY: all clean dependents
445 .SECONDARY:
447 #-include ../makefile.targets