Makefiles for linux - calls makefile EC ICSS lib
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Release / makefile
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 -lc \
27 -lrdimon \
28 -lgcc \
29 -lm \
30 -lnosys \
31 -lstdc++ \
32 -lEcMaster \
33 -lemllICSS \
34 -lemllCPSW \
35 -l:os.aa15fg \
36 -l:sysbios.aa15fg \
37 -l:ti.drv.pruss.aa15fg \
38 -l:ti.drv.icss_emac.aa15fg \
39 -Wl,--end-group \
41 OS := $(shell uname)
42 ifeq ($(OS), Linux)
43 RM := rm -f
44 RMDIR := rm -rf
45 else
46 RM := rm -f
47 RMDIR := rm -r -f
48 endif
50 # All of the sources participating in the build are defined here
51 #-include sources.mk
52 SUBDIRS := \
53 . \
54 EcMasterDemo \
55 eni \
58 #-include subdir_vars.mk
59 CFG_SRCS += \
60 ../EcMaster.cfg 
62 CPP_SRCS += \
63 ../../../../Sources/Common/EcTimer.cpp 
65 C_SRCS += \
66 $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \
67 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
68 ../../common/main.c 
70 GEN_CMDS += \
71 ./configPkg/linker.cmd 
73 GEN_FILES += \
74 ./configPkg/linker.cmd \
75 ./configPkg/compiler.opt 
77 GEN_MISC_DIRS += \
78 ./configPkg/ 
80 C_DEPS += \
81 ./I2C_soc.d \
82 ./UART_soc.d \
83 ./main.d 
85 GEN_OPTS += \
86 ./configPkg/compiler.opt 
88 OBJS += \
89 ./EcTimer.o \
90 ./I2C_soc.o \
91 ./UART_soc.o \
92 ./main.o 
94 CPP_DEPS += \
95 ./EcTimer.d 
97 GEN_MISC_DIRS__QUOTED += \
98 "configPkg\" 
100 OBJS__QUOTED += \
101 "EcTimer.o" \
102 "I2C_soc.o" \
103 "UART_soc.o" \
104 "main.o" 
106 C_DEPS__QUOTED += \
107 "I2C_soc.d" \
108 "UART_soc.d" \
109 "main.d" 
111 CPP_DEPS__QUOTED += \
112 "EcTimer.d" 
114 GEN_FILES__QUOTED += \
115 "configPkg\linker.cmd" \
116 "configPkg\compiler.opt" 
118 C_SRCS__QUOTED += \
119 "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \
120 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
121 "../../common/main.c" 
123 CPP_SRCS__QUOTED += \
124 "../../../../Sources/Common/EcTimer.cpp" 
127 #-include EcMasterDemo/subdir_vars.mk
128 CPP_SRCS += \
129 ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \
130 ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \
131 ../../../../Examples/EcMasterDemo/Logging.cpp \
132 ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \
133 ../../../../Examples/EcMasterDemo/ecatNotification.cpp \
134 ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp 
136 OBJS += \
137 ./EcMasterDemo/ATEMDemo.o \
138 ./EcMasterDemo/ATEMDemoMain.o \
139 ./EcMasterDemo/Logging.o \
140 ./EcMasterDemo/ecatDemoCommon.o \
141 ./EcMasterDemo/ecatNotification.o \
142 ./EcMasterDemo/selectLinkLayer.o 
144 CPP_DEPS += \
145 ./EcMasterDemo/ATEMDemo.d \
146 ./EcMasterDemo/ATEMDemoMain.d \
147 ./EcMasterDemo/Logging.d \
148 ./EcMasterDemo/ecatDemoCommon.d \
149 ./EcMasterDemo/ecatNotification.d \
150 ./EcMasterDemo/selectLinkLayer.d 
152 OBJS__QUOTED += \
153 "EcMasterDemo\ATEMDemo.o" \
154 "EcMasterDemo\ATEMDemoMain.o" \
155 "EcMasterDemo\Logging.o" \
156 "EcMasterDemo\ecatDemoCommon.o" \
157 "EcMasterDemo\ecatNotification.o" \
158 "EcMasterDemo\selectLinkLayer.o" 
160 CPP_DEPS__QUOTED += \
161 "EcMasterDemo\ATEMDemo.d" \
162 "EcMasterDemo\ATEMDemoMain.d" \
163 "EcMasterDemo\Logging.d" \
164 "EcMasterDemo\ecatDemoCommon.d" \
165 "EcMasterDemo\ecatNotification.d" \
166 "EcMasterDemo\selectLinkLayer.d" 
168 CPP_SRCS__QUOTED += \
169 "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \
170 "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \
171 "../../../../Examples/EcMasterDemo/Logging.cpp" \
172 "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \
173 "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \
174 "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp" 
177 #-include eni/subdir_vars.mk
178 C_SRCS += \
179 ../eni/MasterENI.c 
181 C_DEPS += \
182 ./eni/MasterENI.d 
184 OBJS += \
185 ./eni/MasterENI.o 
187 OBJS__QUOTED += \
188 "eni\MasterENI.o" 
190 C_DEPS__QUOTED += \
191 "eni\MasterENI.d" 
193 C_SRCS__QUOTED += \
194 "../eni/MasterENI.c" 
197 #-include subdir_rules.mk
199 configPkg/linker.cmd: ../EcMaster.cfg
200         @echo 'Building file: $<'
201         @echo 'Invoking: XDCtools'
202         "$(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.evmAM572X -r release -c "$(TOOLCHAIN_PATH_A15)" "$<"
203         @echo 'Finished building: $<'
204         @echo ' '
206 configPkg/compiler.opt: | configPkg/linker.cmd
207 configPkg/: | configPkg/linker.cmd
209 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
210         @echo 'Building file: $<'
211         @echo 'Invoking: GNU Compiler'
212         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
213         @echo 'Finished building: $<'
214         @echo ' '
216 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
217         @echo 'Building file: $<'
218         @echo 'Invoking: GNU Compiler'
219         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
220         @echo 'Finished building: $<'
221         @echo ' '
223 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
224         @echo 'Building file: $<'
225         @echo 'Invoking: GNU Compiler'
226         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
227         @echo 'Finished building: $<'
228         @echo ' '
230 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
231         @echo 'Building file: $<'
232         @echo 'Invoking: GNU Compiler'
233         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
234         @echo 'Finished building: $<'
235         @echo ' '
238 #-include EcMasterDemo/subdir_rules.mk
239 # Each subdirectory must supply rules for building sources it contributes
240 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
241         @echo 'Building file: $<'
242         @echo 'Invoking: GNU Compiler'
243         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -I"../../../../Workspace/SYSBIOS_AM57xx/emllICSS" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
244         @echo 'Finished building: $<'
245         @echo ' '
247 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
248         @echo 'Building file: $<'
249         @echo 'Invoking: GNU Compiler'
250         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
251         @echo 'Finished building: $<'
252         @echo ' '
254 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
255         @echo 'Building file: $<'
256         @echo 'Invoking: GNU Compiler'
257         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
258         @echo 'Finished building: $<'
259         @echo ' '
261 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
262         @echo 'Building file: $<'
263         @echo 'Invoking: GNU Compiler'
264         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
265         @echo 'Finished building: $<'
266         @echo ' '
268 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
269         @echo 'Building file: $<'
270         @echo 'Invoking: GNU Compiler'
271         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
272         @echo 'Finished building: $<'
273         @echo ' '
275 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
276         @echo 'Building file: $<'
277         @echo 'Invoking: GNU Compiler'
278         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
279         @echo 'Finished building: $<'
280         @echo ' '
283 #-include eni/subdir_rules.mk
284 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
285         @echo 'Building file: $<'
286         @echo 'Invoking: GNU Compiler'
287         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
288         @echo 'Finished building: $<'
289         @echo ' '
292 #-include objects.mk
293 USER_OBJS :=
295 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
297 ifneq ($(MAKECMDGOALS),clean)
298 ifneq ($(strip $(C55_DEPS)),)
299 -include $(C55_DEPS)
300 endif
301 ifneq ($(strip $(C_UPPER_DEPS)),)
302 -include $(C_UPPER_DEPS)
303 endif
304 ifneq ($(strip $(S67_DEPS)),)
305 -include $(S67_DEPS)
306 endif
307 ifneq ($(strip $(S62_DEPS)),)
308 -include $(S62_DEPS)
309 endif
310 ifneq ($(strip $(S_DEPS)),)
311 -include $(S_DEPS)
312 endif
313 ifneq ($(strip $(OPT_DEPS)),)
314 -include $(OPT_DEPS)
315 endif
316 ifneq ($(strip $(C??_DEPS)),)
317 -include $(C??_DEPS)
318 endif
319 ifneq ($(strip $(ASM_UPPER_DEPS)),)
320 -include $(ASM_UPPER_DEPS)
321 endif
322 ifneq ($(strip $(S??_DEPS)),)
323 -include $(S??_DEPS)
324 endif
325 ifneq ($(strip $(C64_DEPS)),)
326 -include $(C64_DEPS)
327 endif
328 ifneq ($(strip $(CXX_DEPS)),)
329 -include $(CXX_DEPS)
330 endif
331 ifneq ($(strip $(S64_DEPS)),)
332 -include $(S64_DEPS)
333 endif
334 ifneq ($(strip $(INO_DEPS)),)
335 -include $(INO_DEPS)
336 endif
337 ifneq ($(strip $(CLA_DEPS)),)
338 -include $(CLA_DEPS)
339 endif
340 ifneq ($(strip $(S55_DEPS)),)
341 -include $(S55_DEPS)
342 endif
343 ifneq ($(strip $(SV7A_DEPS)),)
344 -include $(SV7A_DEPS)
345 endif
346 ifneq ($(strip $(C62_DEPS)),)
347 -include $(C62_DEPS)
348 endif
349 ifneq ($(strip $(C67_DEPS)),)
350 -include $(C67_DEPS)
351 endif
352 ifneq ($(strip $(PDE_DEPS)),)
353 -include $(PDE_DEPS)
354 endif
355 ifneq ($(strip $(K_DEPS)),)
356 -include $(K_DEPS)
357 endif
358 ifneq ($(strip $(C_DEPS)),)
359 -include $(C_DEPS)
360 endif
361 ifneq ($(strip $(CC_DEPS)),)
362 -include $(CC_DEPS)
363 endif
364 ifneq ($(strip $(C++_DEPS)),)
365 -include $(C++_DEPS)
366 endif
367 ifneq ($(strip $(C43_DEPS)),)
368 -include $(C43_DEPS)
369 endif
370 ifneq ($(strip $(S43_DEPS)),)
371 -include $(S43_DEPS)
372 endif
373 ifneq ($(strip $(ASM_DEPS)),)
374 -include $(ASM_DEPS)
375 endif
376 ifneq ($(strip $(S_UPPER_DEPS)),)
377 -include $(S_UPPER_DEPS)
378 endif
379 ifneq ($(strip $(CPP_DEPS)),)
380 -include $(CPP_DEPS)
381 endif
382 ifneq ($(strip $(SA_DEPS)),)
383 -include $(SA_DEPS)
384 endif
385 endif
387 #-include ../makefile.defs
389 # Add inputs and outputs from these tool invocations to the build variables 
390 EXE_OUTPUTS += \
391 EcMasterDemo.out \
393 EXE_OUTPUTS__QUOTED += \
394 "EcMasterDemo.out" \
396 BIN_OUTPUTS += \
397 EcMasterDemo.hex \
399 BIN_OUTPUTS__QUOTED += \
400 "EcMasterDemo.hex" \
403 # All Target
404 all: EcLib EcMasterDemo.out
406 # Tool invocations
407 EcLib:
408         @$(MAKE) --no-print-directory -C ../../emllICSS/Release all
410 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
411         @echo 'Building target: $@'
412         @echo 'Invoking: GNU Linker'
413         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -Wall -v -MMD -MP -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -static -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -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/Release/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -o"EcMasterDemo.out" $(ORDERED_OBJS)
414         @echo 'Finished building target: $@'
415         @echo ' '
417 EcMasterDemo.hex: $(EXE_OUTPUTS)
418         @echo 'Invoking: GNU Objcopy Utility'
419         "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
420         @echo 'Finished building: $@'
421         @echo ' '
423 # Other Targets
424 clean:
425         @$(MAKE) --no-print-directory -C ../../emllICSS/Release clean   
426         -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
427         -$(RMDIR) $(GEN_MISC_DIRS)
428         -$(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 
429         -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d 
430         -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map 
431         -@echo 'Finished clean'
432         -@echo ' ''
434 .PHONY: all clean dependents
435 .SECONDARY:
437 #-include ../makefile.targets