8ae99d2e6dd84b7636ae45669be6975fb268e8d3
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Debug / makefile_win
1 ifndef MAKE
2 export MAKE = gmake
3 endif
4 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
5 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
7 ORDERED_OBJS += \
8 "./EcTimer.o" \
9 "./I2C_soc.o" \
10 "./UART_soc.o" \
11 "./main.o" \
12 "./EcMasterDemo/ATEMDemo.o" \
13 "./EcMasterDemo/ATEMDemoMain.o" \
14 "./EcMasterDemo/Logging.o" \
15 "./EcMasterDemo/ecatDemoCommon.o" \
16 "./EcMasterDemo/ecatNotification.o" \
17 "./EcMasterDemo/selectLinkLayer.o" \
18 "./eni/MasterENI.o" \
19 $(GEN_CMDS__FLAG) \
20 -Wl,--start-group \
21 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" \
22 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV2.cmd" \
23 -lc \
24 -lrdimon \
25 -lgcc \
26 -lm \
27 -lnosys \
28 -lstdc++ \
29 -lEcMaster \
30 -lemllICSS \
31 -lemllCPSW \
32 -l:os.aa15fg \
33 -l:sysbios.aa15fg \
34 -l:ti.drv.pruss.aa15fg \
35 -l:ti.drv.icss_emac.aa15fg \
36 -Wl,--end-group \
38 OS := $(shell uname)
39 ifeq ($(OS), Linux)
40 RM := rm -f
41 RMDIR := rm -d -f -r
42 else
43 RM := rm -f
44 RMDIR := rm -r -f
45 endif
47 # All of the sources participating in the build are defined here
48 #-include sources.mk
49 SUBDIRS := \
50 . \
51 EcMasterDemo \
52 eni \
55 #-include subdir_vars.mk
56 CFG_SRCS += \
57 ../EcMaster.cfg
59 CPP_SRCS += \
60 ../../../../Sources/Common/EcTimer.cpp
62 C_SRCS += \
63 $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \
64 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
65 ../../common/main.c
67 GEN_CMDS += \
68 ./configPkg/linker.cmd
70 GEN_FILES += \
71 ./configPkg/linker.cmd \
72 ./configPkg/compiler.opt
74 GEN_MISC_DIRS += \
75 ./configPkg/
77 C_DEPS += \
78 ./I2C_soc.d \
79 ./UART_soc.d \
80 ./main.d
82 GEN_OPTS += \
83 ./configPkg/compiler.opt
85 OBJS += \
86 ./EcTimer.o \
87 ./I2C_soc.o \
88 ./UART_soc.o \
89 ./main.o
91 CPP_DEPS += \
92 ./EcTimer.d
94 GEN_MISC_DIRS__QUOTED += \
95 "configPkg\"
97 OBJS__QUOTED += \
98 "EcTimer.o" \
99 "I2C_soc.o" \
100 "UART_soc.o" \
101 "main.o"
103 C_DEPS__QUOTED += \
104 "I2C_soc.d" \
105 "UART_soc.d" \
106 "main.d"
108 CPP_DEPS__QUOTED += \
109 "EcTimer.d"
111 GEN_FILES__QUOTED += \
112 "configPkg\linker.cmd" \
113 "configPkg\compiler.opt"
115 C_SRCS__QUOTED += \
116 "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \
117 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
118 "../../common/main.c"
120 CPP_SRCS__QUOTED += \
121 "../../../../Sources/Common/EcTimer.cpp"
124 #-include EcMasterDemo/subdir_vars.mk
125 CPP_SRCS += \
126 ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \
127 ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \
128 ../../../../Examples/EcMasterDemo/Logging.cpp \
129 ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \
130 ../../../../Examples/EcMasterDemo/ecatNotification.cpp \
131 ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp
133 OBJS += \
134 ./EcMasterDemo/ATEMDemo.o \
135 ./EcMasterDemo/ATEMDemoMain.o \
136 ./EcMasterDemo/Logging.o \
137 ./EcMasterDemo/ecatDemoCommon.o \
138 ./EcMasterDemo/ecatNotification.o \
139 ./EcMasterDemo/selectLinkLayer.o
141 CPP_DEPS += \
142 ./EcMasterDemo/ATEMDemo.d \
143 ./EcMasterDemo/ATEMDemoMain.d \
144 ./EcMasterDemo/Logging.d \
145 ./EcMasterDemo/ecatDemoCommon.d \
146 ./EcMasterDemo/ecatNotification.d \
147 ./EcMasterDemo/selectLinkLayer.d
149 OBJS__QUOTED += \
150 "EcMasterDemo\ATEMDemo.o" \
151 "EcMasterDemo\ATEMDemoMain.o" \
152 "EcMasterDemo\Logging.o" \
153 "EcMasterDemo\ecatDemoCommon.o" \
154 "EcMasterDemo\ecatNotification.o" \
155 "EcMasterDemo\selectLinkLayer.o"
157 CPP_DEPS__QUOTED += \
158 "EcMasterDemo\ATEMDemo.d" \
159 "EcMasterDemo\ATEMDemoMain.d" \
160 "EcMasterDemo\Logging.d" \
161 "EcMasterDemo\ecatDemoCommon.d" \
162 "EcMasterDemo\ecatNotification.d" \
163 "EcMasterDemo\selectLinkLayer.d"
165 CPP_SRCS__QUOTED += \
166 "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \
167 "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \
168 "../../../../Examples/EcMasterDemo/Logging.cpp" \
169 "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \
170 "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \
171 "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp"
174 #-include eni/subdir_vars.mk
175 C_SRCS += \
176 ../eni/MasterENI.c
178 C_DEPS += \
179 ./eni/MasterENI.d
181 OBJS += \
182 ./eni/MasterENI.o
184 OBJS__QUOTED += \
185 "eni\MasterENI.o"
187 C_DEPS__QUOTED += \
188 "eni\MasterENI.d"
190 C_SRCS__QUOTED += \
191 "../eni/MasterENI.c"
194 #-include subdir_rules.mk
196 configPkg/linker.cmd: ../EcMaster.cfg
197 @echo 'Building file: $<'
198 @echo 'Invoking: XDCtools'
199 "$(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 "$<"
200 @echo 'Finished building: $<'
201 @echo ' '
203 configPkg/compiler.opt: | configPkg/linker.cmd
204 configPkg/: | configPkg/linker.cmd
206 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
207 @echo 'Building file: $<'
208 @echo 'Invoking: GNU Compiler'
209 "$(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) "$<"
210 @echo 'Finished building: $<'
211 @echo ' '
213 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
214 @echo 'Building file: $<'
215 @echo 'Invoking: GNU Compiler'
216 "$(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) "$<"
217 @echo 'Finished building: $<'
218 @echo ' '
220 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
221 @echo 'Building file: $<'
222 @echo 'Invoking: GNU Compiler'
223 "$(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) "$<"
224 @echo 'Finished building: $<'
225 @echo ' '
227 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
228 @echo 'Building file: $<'
229 @echo 'Invoking: GNU Compiler'
230 "$(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) "$<"
231 @echo 'Finished building: $<'
232 @echo ' '
235 #-include EcMasterDemo/subdir_rules.mk
236 # Each subdirectory must supply rules for building sources it contributes
237 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
238 @echo 'Building file: $<'
239 @echo 'Invoking: GNU Compiler'
240 "$(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) "$<"
241 @echo 'Finished building: $<'
242 @echo ' '
244 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
245 @echo 'Building file: $<'
246 @echo 'Invoking: GNU Compiler'
247 "$(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) "$<"
248 @echo 'Finished building: $<'
249 @echo ' '
251 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
252 @echo 'Building file: $<'
253 @echo 'Invoking: GNU Compiler'
254 "$(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) "$<"
255 @echo 'Finished building: $<'
256 @echo ' '
258 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
259 @echo 'Building file: $<'
260 @echo 'Invoking: GNU Compiler'
261 "$(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) "$<"
262 @echo 'Finished building: $<'
263 @echo ' '
265 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
266 @echo 'Building file: $<'
267 @echo 'Invoking: GNU Compiler'
268 "$(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) "$<"
269 @echo 'Finished building: $<'
270 @echo ' '
272 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
273 @echo 'Building file: $<'
274 @echo 'Invoking: GNU Compiler'
275 "$(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) "$<"
276 @echo 'Finished building: $<'
277 @echo ' '
280 #-include eni/subdir_rules.mk
281 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
282 @echo 'Building file: $<'
283 "$(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) "$<"
284 @echo 'Finished building: $<'
285 @echo ' '
288 #-include objects.mk
289 USER_OBJS :=
291 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
293 ifneq ($(MAKECMDGOALS),clean)
294 ifneq ($(strip $(C55_DEPS)),)
295 -include $(C55_DEPS)
296 endif
297 ifneq ($(strip $(C_UPPER_DEPS)),)
298 -include $(C_UPPER_DEPS)
299 endif
300 ifneq ($(strip $(S67_DEPS)),)
301 -include $(S67_DEPS)
302 endif
303 ifneq ($(strip $(S62_DEPS)),)
304 -include $(S62_DEPS)
305 endif
306 ifneq ($(strip $(S_DEPS)),)
307 -include $(S_DEPS)
308 endif
309 ifneq ($(strip $(OPT_DEPS)),)
310 -include $(OPT_DEPS)
311 endif
312 ifneq ($(strip $(C??_DEPS)),)
313 -include $(C??_DEPS)
314 endif
315 ifneq ($(strip $(ASM_UPPER_DEPS)),)
316 -include $(ASM_UPPER_DEPS)
317 endif
318 ifneq ($(strip $(S??_DEPS)),)
319 -include $(S??_DEPS)
320 endif
321 ifneq ($(strip $(C64_DEPS)),)
322 -include $(C64_DEPS)
323 endif
324 ifneq ($(strip $(CXX_DEPS)),)
325 -include $(CXX_DEPS)
326 endif
327 ifneq ($(strip $(S64_DEPS)),)
328 -include $(S64_DEPS)
329 endif
330 ifneq ($(strip $(INO_DEPS)),)
331 -include $(INO_DEPS)
332 endif
333 ifneq ($(strip $(CLA_DEPS)),)
334 -include $(CLA_DEPS)
335 endif
336 ifneq ($(strip $(S55_DEPS)),)
337 -include $(S55_DEPS)
338 endif
339 ifneq ($(strip $(SV7A_DEPS)),)
340 -include $(SV7A_DEPS)
341 endif
342 ifneq ($(strip $(C62_DEPS)),)
343 -include $(C62_DEPS)
344 endif
345 ifneq ($(strip $(C67_DEPS)),)
346 -include $(C67_DEPS)
347 endif
348 ifneq ($(strip $(PDE_DEPS)),)
349 -include $(PDE_DEPS)
350 endif
351 ifneq ($(strip $(K_DEPS)),)
352 -include $(K_DEPS)
353 endif
354 ifneq ($(strip $(C_DEPS)),)
355 -include $(C_DEPS)
356 endif
357 ifneq ($(strip $(CC_DEPS)),)
358 -include $(CC_DEPS)
359 endif
360 ifneq ($(strip $(C++_DEPS)),)
361 -include $(C++_DEPS)
362 endif
363 ifneq ($(strip $(C43_DEPS)),)
364 -include $(C43_DEPS)
365 endif
366 ifneq ($(strip $(S43_DEPS)),)
367 -include $(S43_DEPS)
368 endif
369 ifneq ($(strip $(ASM_DEPS)),)
370 -include $(ASM_DEPS)
371 endif
372 ifneq ($(strip $(S_UPPER_DEPS)),)
373 -include $(S_UPPER_DEPS)
374 endif
375 ifneq ($(strip $(CPP_DEPS)),)
376 -include $(CPP_DEPS)
377 endif
378 ifneq ($(strip $(SA_DEPS)),)
379 -include $(SA_DEPS)
380 endif
381 endif
383 #-include ../makefile.defs
385 # Add inputs and outputs from these tool invocations to the build variables
386 EXE_OUTPUTS += \
387 EcMasterDemo.out \
389 EXE_OUTPUTS__QUOTED += \
390 "EcMasterDemo.out" \
392 BIN_OUTPUTS += \
393 EcMasterDemo.hex \
395 BIN_OUTPUTS__QUOTED += \
396 "EcMasterDemo.hex" \
399 # All Target
400 all: EcMasterDemo.out
402 # Tool invocations
403 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
404 @echo 'Building target: $@'
405 @echo 'Invoking: GNU Linker'
406 "$(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)
407 @echo 'Finished building target: $@'
408 @echo ' '
409 @$(MAKE) --no-print-directory post-build
411 EcMasterDemo.hex: $(EXE_OUTPUTS)
412 @echo 'Invoking: GNU Objcopy Utility'
413 "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy.exe" $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
414 @echo 'Finished building: $@'
415 @echo ' '
416 @$(MAKE) --no-print-directory post-build
418 # Other Targets
419 clean:
420 -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
421 -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
422 -$(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"
423 -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d"
424 -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d"
425 -$(RM) "EcMasterDemo.out.rprc" "EcMasterDemo.map"
426 -@echo 'Finished clean'
427 -@echo ' '
429 post-build:
430 -$(PDK_INSTALL_PATH)/pdkAppImageCreate.bat $(PDK_INSTALL_PATH) $(TOOLCHAIN_PATH_A15) ../Debug EcMasterDemo AM572x arm
431 -@echo 'Finished post-build'
432 -@echo ' '
434 .PHONY: all clean dependents
435 .SECONDARY:
437 #-include ../makefile.targets