Adding rules.make to makefiles - PSDK5.0
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Debug / makefile
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 = make
9 endif
11 ifndef ECHO
12 export ECHO = echo
13 endif
15 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
16 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
18 ORDERED_OBJS += \
19 "./EcTimer.o" \
20 "./I2C_soc.o" \
21 "./UART_soc.o" \
22 "./main.o" \
23 "./EcMasterDemo/ATEMDemo.o" \
24 "./EcMasterDemo/ATEMDemoMain.o" \
25 "./EcMasterDemo/Logging.o" \
26 "./EcMasterDemo/ecatDemoCommon.o" \
27 "./EcMasterDemo/ecatNotification.o" \
28 "./EcMasterDemo/selectLinkLayer.o" \
29 "./eni/MasterENI.o" \
30 $(GEN_CMDS__FLAG) \
31 -Wl,--start-group \
32 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" \
33 -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV2.cmd" \
34 -lc \
35 -lrdimon \
36 -lgcc \
37 -lm \
38 -lnosys \
39 -lstdc++ \
40 -lEcMaster \
41 -lemllICSS \
42 -lemllCPSW \
43 -l:os.aa15fg \
44 -l:sysbios.aa15fg \
45 -l:ti.drv.pruss.aa15fg \
46 -l:ti.drv.icss_emac.aa15fg \
47 -Wl,--end-group \
49 OS := $(shell uname)
50 ifeq ($(OS), Linux)
51 RM := rm -f
52 RMDIR := rm -f -r
53 else
54 RM := rm -f
55 RMDIR := rm -r -f
56 endif
58 # All of the sources participating in the build are defined here
59 #-include sources.mk
60 SUBDIRS := \
61 . \
62 EcMasterDemo \
63 eni \
66 #-include subdir_vars.mk
67 CFG_SRCS += \
68 ../EcMaster.cfg 
70 CPP_SRCS += \
71 ../../../../Sources/Common/EcTimer.cpp 
73 C_SRCS += \
74 $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \
75 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
76 ../../common/main.c 
78 GEN_CMDS += \
79 ./configPkg/linker.cmd 
81 GEN_FILES += \
82 ./configPkg/linker.cmd \
83 ./configPkg/compiler.opt 
85 GEN_MISC_DIRS += \
86 ./configPkg/ 
88 C_DEPS += \
89 ./I2C_soc.d \
90 ./UART_soc.d \
91 ./main.d 
93 GEN_OPTS += \
94 ./configPkg/compiler.opt 
96 OBJS += \
97 ./EcTimer.o \
98 ./I2C_soc.o \
99 ./UART_soc.o \
100 ./main.o 
102 CPP_DEPS += \
103 ./EcTimer.d 
105 GEN_MISC_DIRS__QUOTED += \
106 "configPkg\" 
108 OBJS__QUOTED += \
109 "EcTimer.o" \
110 "I2C_soc.o" \
111 "UART_soc.o" \
112 "main.o" 
114 C_DEPS__QUOTED += \
115 "I2C_soc.d" \
116 "UART_soc.d" \
117 "main.d" 
119 CPP_DEPS__QUOTED += \
120 "EcTimer.d" 
122 GEN_FILES__QUOTED += \
123 "configPkg\linker.cmd" \
124 "configPkg\compiler.opt" 
126 C_SRCS__QUOTED += \
127 "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \
128 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
129 "../../common/main.c" 
131 CPP_SRCS__QUOTED += \
132 "../../../../Sources/Common/EcTimer.cpp" 
135 #-include EcMasterDemo/subdir_vars.mk
136 CPP_SRCS += \
137 ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \
138 ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \
139 ../../../../Examples/EcMasterDemo/Logging.cpp \
140 ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \
141 ../../../../Examples/EcMasterDemo/ecatNotification.cpp \
142 ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp 
144 OBJS += \
145 ./EcMasterDemo/ATEMDemo.o \
146 ./EcMasterDemo/ATEMDemoMain.o \
147 ./EcMasterDemo/Logging.o \
148 ./EcMasterDemo/ecatDemoCommon.o \
149 ./EcMasterDemo/ecatNotification.o \
150 ./EcMasterDemo/selectLinkLayer.o 
152 CPP_DEPS += \
153 ./EcMasterDemo/ATEMDemo.d \
154 ./EcMasterDemo/ATEMDemoMain.d \
155 ./EcMasterDemo/Logging.d \
156 ./EcMasterDemo/ecatDemoCommon.d \
157 ./EcMasterDemo/ecatNotification.d \
158 ./EcMasterDemo/selectLinkLayer.d 
160 OBJS__QUOTED += \
161 "EcMasterDemo\ATEMDemo.o" \
162 "EcMasterDemo\ATEMDemoMain.o" \
163 "EcMasterDemo\Logging.o" \
164 "EcMasterDemo\ecatDemoCommon.o" \
165 "EcMasterDemo\ecatNotification.o" \
166 "EcMasterDemo\selectLinkLayer.o" 
168 CPP_DEPS__QUOTED += \
169 "EcMasterDemo\ATEMDemo.d" \
170 "EcMasterDemo\ATEMDemoMain.d" \
171 "EcMasterDemo\Logging.d" \
172 "EcMasterDemo\ecatDemoCommon.d" \
173 "EcMasterDemo\ecatNotification.d" \
174 "EcMasterDemo\selectLinkLayer.d" 
176 CPP_SRCS__QUOTED += \
177 "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \
178 "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \
179 "../../../../Examples/EcMasterDemo/Logging.cpp" \
180 "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \
181 "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \
182 "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp" 
185 #-include eni/subdir_vars.mk
186 C_SRCS += \
187 ../eni/MasterENI.c 
189 C_DEPS += \
190 ./eni/MasterENI.d 
192 OBJS += \
193 ./eni/MasterENI.o 
195 OBJS__QUOTED += \
196 "eni\MasterENI.o" 
198 C_DEPS__QUOTED += \
199 "eni\MasterENI.d" 
201 C_SRCS__QUOTED += \
202 "../eni/MasterENI.c" 
205 #-include subdir_rules.mk
207 configPkg/linker.cmd: ../EcMaster.cfg
208         @echo 'Building file: $<'
209         @echo 'Invoking: XDCtools'
210         "$(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 "$<"
211         @echo 'Finished building: $<'
212         @echo ' '
214 configPkg/compiler.opt: | configPkg/linker.cmd
215 configPkg/: | configPkg/linker.cmd
217 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
218         @echo 'Building file: $<'
219         @echo 'Invoking: GNU Compiler'
220         "$(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) "$<"
221         @echo 'Finished building: $<'
222         @echo ' '
224 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
225         @echo 'Building file: $<'
226         @echo 'Invoking: GNU Compiler'
227         "$(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) "$<"
228         @echo 'Finished building: $<'
229         @echo ' '
231 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
232         @echo 'Building file: $<'
233         @echo 'Invoking: GNU Compiler'
234         "$(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) "$<"
235         @echo 'Finished building: $<'
236         @echo ' '
238 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
239         @echo 'Building file: $<'
240         @echo 'Invoking: GNU Compiler'
241         "$(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) "$<"
242         @echo 'Finished building: $<'
243         @echo ' '
246 #-include EcMasterDemo/subdir_rules.mk
247 # Each subdirectory must supply rules for building sources it contributes
248 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
249         @echo 'Building file: $<'
250         @echo 'Invoking: GNU Compiler'
251         "$(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) "$<"
252         @echo 'Finished building: $<'
253         @echo ' '
255 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
256         @echo 'Building file: $<'
257         @echo 'Invoking: GNU Compiler'
258         "$(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) "$<"
259         @echo 'Finished building: $<'
260         @echo ' '
262 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
263         @echo 'Building file: $<'
264         @echo 'Invoking: GNU Compiler'
265         "$(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) "$<"
266         @echo 'Finished building: $<'
267         @echo ' '
269 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
270         @echo 'Building file: $<'
271         @echo 'Invoking: GNU Compiler'
272         "$(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) "$<"
273         @echo 'Finished building: $<'
274         @echo ' '
276 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
277         @echo 'Building file: $<'
278         @echo 'Invoking: GNU Compiler'
279         "$(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) "$<"
280         @echo 'Finished building: $<'
281         @echo ' '
283 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
284         @echo 'Building file: $<'
285         @echo 'Invoking: GNU Compiler'
286         "$(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) "$<"
287         @echo 'Finished building: $<'
288         @echo ' '
291 #-include eni/subdir_rules.mk
292 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
293         @echo 'Building file: $<'
294         "$(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) "$<"
295         @echo 'Finished building: $<'
296         @echo ' '
299 #-include objects.mk
300 USER_OBJS :=
302 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
304 ifneq ($(MAKECMDGOALS),clean)
305 ifneq ($(strip $(C55_DEPS)),)
306 -include $(C55_DEPS)
307 endif
308 ifneq ($(strip $(C_UPPER_DEPS)),)
309 -include $(C_UPPER_DEPS)
310 endif
311 ifneq ($(strip $(S67_DEPS)),)
312 -include $(S67_DEPS)
313 endif
314 ifneq ($(strip $(S62_DEPS)),)
315 -include $(S62_DEPS)
316 endif
317 ifneq ($(strip $(S_DEPS)),)
318 -include $(S_DEPS)
319 endif
320 ifneq ($(strip $(OPT_DEPS)),)
321 -include $(OPT_DEPS)
322 endif
323 ifneq ($(strip $(C??_DEPS)),)
324 -include $(C??_DEPS)
325 endif
326 ifneq ($(strip $(ASM_UPPER_DEPS)),)
327 -include $(ASM_UPPER_DEPS)
328 endif
329 ifneq ($(strip $(S??_DEPS)),)
330 -include $(S??_DEPS)
331 endif
332 ifneq ($(strip $(C64_DEPS)),)
333 -include $(C64_DEPS)
334 endif
335 ifneq ($(strip $(CXX_DEPS)),)
336 -include $(CXX_DEPS)
337 endif
338 ifneq ($(strip $(S64_DEPS)),)
339 -include $(S64_DEPS)
340 endif
341 ifneq ($(strip $(INO_DEPS)),)
342 -include $(INO_DEPS)
343 endif
344 ifneq ($(strip $(CLA_DEPS)),)
345 -include $(CLA_DEPS)
346 endif
347 ifneq ($(strip $(S55_DEPS)),)
348 -include $(S55_DEPS)
349 endif
350 ifneq ($(strip $(SV7A_DEPS)),)
351 -include $(SV7A_DEPS)
352 endif
353 ifneq ($(strip $(C62_DEPS)),)
354 -include $(C62_DEPS)
355 endif
356 ifneq ($(strip $(C67_DEPS)),)
357 -include $(C67_DEPS)
358 endif
359 ifneq ($(strip $(PDE_DEPS)),)
360 -include $(PDE_DEPS)
361 endif
362 ifneq ($(strip $(K_DEPS)),)
363 -include $(K_DEPS)
364 endif
365 ifneq ($(strip $(C_DEPS)),)
366 -include $(C_DEPS)
367 endif
368 ifneq ($(strip $(CC_DEPS)),)
369 -include $(CC_DEPS)
370 endif
371 ifneq ($(strip $(C++_DEPS)),)
372 -include $(C++_DEPS)
373 endif
374 ifneq ($(strip $(C43_DEPS)),)
375 -include $(C43_DEPS)
376 endif
377 ifneq ($(strip $(S43_DEPS)),)
378 -include $(S43_DEPS)
379 endif
380 ifneq ($(strip $(ASM_DEPS)),)
381 -include $(ASM_DEPS)
382 endif
383 ifneq ($(strip $(S_UPPER_DEPS)),)
384 -include $(S_UPPER_DEPS)
385 endif
386 ifneq ($(strip $(CPP_DEPS)),)
387 -include $(CPP_DEPS)
388 endif
389 ifneq ($(strip $(SA_DEPS)),)
390 -include $(SA_DEPS)
391 endif
392 endif
394 #-include ../makefile.defs
396 # Add inputs and outputs from these tool invocations to the build variables 
397 EXE_OUTPUTS += \
398 EcMasterDemo.out \
400 EXE_OUTPUTS__QUOTED += \
401 "EcMasterDemo.out" \
403 BIN_OUTPUTS += \
404 EcMasterDemo.hex \
406 BIN_OUTPUTS__QUOTED += \
407 "EcMasterDemo.hex" \
410 # All Target
411 all: EcLib EcMasterDemo.out
414 # Tool invocations
415 EcLib:
416         @$(MAKE) --no-print-directory -C ../../emllICSS/Debug all
418 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
419         @echo 'Building target: $@'
420         @echo 'Invoking: GNU Linker'
421         "$(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)
422         @echo 'Finished building target: $@'
423         @echo ' '
424         @$(MAKE) --no-print-directory post-build
426 EcMasterDemo.hex: $(EXE_OUTPUTS)
427         @echo 'Invoking: GNU Objcopy Utility'
428         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
429         @echo 'Finished building: $@'
430         @echo ' '
431         @$(MAKE) --no-print-directory post-build
433 # Other Targets
434 clean:
435         @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean     
436         -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
437         -$(RMDIR) $(GEN_MISC_DIRS)
438         -$(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 
439         -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d 
440         -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map 
441         -$(RM) app EcMasterDemo.out.rprc EcMasterDemo.map
442         -@echo 'Finished clean'
443         -@echo ' ''
445 post-build:
446         -$(PDK_INSTALL_PATH)/pdkAppImageCreate.sh $(PDK_INSTALL_PATH) $(TOOLCHAIN_PATH_A15) ../Debug EcMasterDemo AM572x arm
447         -@echo 'Finished post-build'
448         -@echo ' '
450 .PHONY: all clean dependents
451 .SECONDARY:
453 #-include ../makefile.targets