[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Debug / makefile
diff --git a/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile b/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile
index 5af2612844df636482585ec69c45e75e4061fd41..6b26153e2f163046f06f9d6f14aa9d5a52520ca6 100755 (executable)
ifndef MAKE
-export MAKE = make
+export MAKE = gmake
endif
-
-ifndef ECHO
-export ECHO = echo
-endif
-
GEN_OPTS__FLAG := @"configPkg/compiler.opt"
GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
OS := $(shell uname)
ifeq ($(OS), Linux)
RM := rm -f
-RMDIR := rm -f -r
+RMDIR := rm -d -f -r
else
RM := rm -f
RMDIR := rm -r -f
EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: GNU Compiler'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
@@ -285,7 +280,7 @@ EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLaye
#-include eni/subdir_rules.mk
eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
@echo 'Building file: $<'
- "$(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) "$<"
+ "$(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) "$<"
@echo 'Finished building: $<'
@echo ' '
# All Target
-all: EcLib EcMasterDemo.out
-
+all: EcMasterDemo.out
# Tool invocations
-EcLib:
- @$(MAKE) --no-print-directory -C ../../emllICSS/Debug all
-
EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
@echo 'Building target: $@'
@echo 'Invoking: GNU Linker'
- "$(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)
+ "$(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)
@echo 'Finished building target: $@'
@echo ' '
+ @$(MAKE) --no-print-directory post-build
EcMasterDemo.hex: $(EXE_OUTPUTS)
@echo 'Invoking: GNU Objcopy Utility'
- "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy" $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
+ "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy.exe" $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
@echo 'Finished building: $@'
@echo ' '
+ @$(MAKE) --no-print-directory post-build
# Other Targets
clean:
- @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean
- -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
- -$(RMDIR) $(GEN_MISC_DIRS)
- -$(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
- -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d
- -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map
+ -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
+ -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
+ -$(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"
+ -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d"
+ -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d"
+ -$(RM) "EcMasterDemo.out.rprc" "EcMasterDemo.map"
-@echo 'Finished clean'
- -@echo ' ''
+ -@echo ' '
+post-build:
+ -$(PDK_INSTALL_PATH)/pdkAppImageCreate.bat $(PDK_INSTALL_PATH) $(TOOLCHAIN_PATH_A15) ../Debug EcMasterDemo AM572x arm
+ -@echo 'Finished post-build'
+ -@echo ' '
.PHONY: all clean dependents
.SECONDARY: