ifndef MAKE export MAKE = make endif ifndef ECHO export ECHO = echo endif GEN_OPTS__FLAG := @"configPkg/compiler.opt" GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd" ORDERED_OBJS += \ "./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" \ $(GEN_CMDS__FLAG) \ -Wl,--start-group \ -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" \ -Wl,-T",$(PDK_INSTALL_PATH)/ti/build/pruss/lnk_a8_a9_a15_REV2.cmd" \ -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 \ -Wl,--end-group \ OS := $(shell uname) ifeq ($(OS), Linux) RM := rm -f RMDIR := rm -f -r else RM := rm -f RMDIR := rm -r -f endif # All of the sources participating in the build are defined here #-include sources.mk SUBDIRS := \ . \ EcMasterDemo \ eni \ #-include subdir_vars.mk CFG_SRCS += \ ../EcMaster.cfg CPP_SRCS += \ ../../../../Sources/Common/EcTimer.cpp C_SRCS += \ $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c \ $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \ ../../common/main.c GEN_CMDS += \ ./configPkg/linker.cmd GEN_FILES += \ ./configPkg/linker.cmd \ ./configPkg/compiler.opt GEN_MISC_DIRS += \ ./configPkg/ C_DEPS += \ ./I2C_soc.d \ ./UART_soc.d \ ./main.d GEN_OPTS += \ ./configPkg/compiler.opt OBJS += \ ./EcTimer.o \ ./I2C_soc.o \ ./UART_soc.o \ ./main.o CPP_DEPS += \ ./EcTimer.d GEN_MISC_DIRS__QUOTED += \ "configPkg\" OBJS__QUOTED += \ "EcTimer.o" \ "I2C_soc.o" \ "UART_soc.o" \ "main.o" C_DEPS__QUOTED += \ "I2C_soc.d" \ "UART_soc.d" \ "main.d" CPP_DEPS__QUOTED += \ "EcTimer.d" GEN_FILES__QUOTED += \ "configPkg\linker.cmd" \ "configPkg\compiler.opt" C_SRCS__QUOTED += \ "$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c" \ "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \ "../../common/main.c" CPP_SRCS__QUOTED += \ "../../../../Sources/Common/EcTimer.cpp" #-include EcMasterDemo/subdir_vars.mk CPP_SRCS += \ ../../../../Examples/EcMasterDemo/ATEMDemo.cpp \ ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp \ ../../../../Examples/EcMasterDemo/Logging.cpp \ ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp \ ../../../../Examples/EcMasterDemo/ecatNotification.cpp \ ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp OBJS += \ ./EcMasterDemo/ATEMDemo.o \ ./EcMasterDemo/ATEMDemoMain.o \ ./EcMasterDemo/Logging.o \ ./EcMasterDemo/ecatDemoCommon.o \ ./EcMasterDemo/ecatNotification.o \ ./EcMasterDemo/selectLinkLayer.o CPP_DEPS += \ ./EcMasterDemo/ATEMDemo.d \ ./EcMasterDemo/ATEMDemoMain.d \ ./EcMasterDemo/Logging.d \ ./EcMasterDemo/ecatDemoCommon.d \ ./EcMasterDemo/ecatNotification.d \ ./EcMasterDemo/selectLinkLayer.d OBJS__QUOTED += \ "EcMasterDemo\ATEMDemo.o" \ "EcMasterDemo\ATEMDemoMain.o" \ "EcMasterDemo\Logging.o" \ "EcMasterDemo\ecatDemoCommon.o" \ "EcMasterDemo\ecatNotification.o" \ "EcMasterDemo\selectLinkLayer.o" CPP_DEPS__QUOTED += \ "EcMasterDemo\ATEMDemo.d" \ "EcMasterDemo\ATEMDemoMain.d" \ "EcMasterDemo\Logging.d" \ "EcMasterDemo\ecatDemoCommon.d" \ "EcMasterDemo\ecatNotification.d" \ "EcMasterDemo\selectLinkLayer.d" CPP_SRCS__QUOTED += \ "../../../../Examples/EcMasterDemo/ATEMDemo.cpp" \ "../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp" \ "../../../../Examples/EcMasterDemo/Logging.cpp" \ "../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp" \ "../../../../Examples/EcMasterDemo/ecatNotification.cpp" \ "../../../../Examples/EcMasterDemo/selectLinkLayer.cpp" #-include eni/subdir_vars.mk C_SRCS += \ ../eni/MasterENI.c C_DEPS += \ ./eni/MasterENI.d OBJS += \ ./eni/MasterENI.o OBJS__QUOTED += \ "eni\MasterENI.o" C_DEPS__QUOTED += \ "eni\MasterENI.d" C_SRCS__QUOTED += \ "../eni/MasterENI.c" #-include subdir_rules.mk configPkg/linker.cmd: ../EcMaster.cfg @echo 'Building file: $<' @echo 'Invoking: XDCtools' "$(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 release -b "$(PDK_INSTALL_PATH)/ti/build/am572x/config_am572x_a15.bld" -c "$(TOOLCHAIN_PATH_A15)" -DBOARD=idkAM572x "$<" @echo 'Finished building: $<' @echo ' ' configPkg/compiler.opt: | configPkg/linker.cmd configPkg/: | configPkg/linker.cmd 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 -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 -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 -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 -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 -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 -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 -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 -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<" @echo 'Finished building: $<' @echo ' ' #-include EcMasterDemo/subdir_rules.mk # Each subdirectory must supply rules for building sources it contributes 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<" @echo 'Finished building: $<' @echo ' ' #-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 -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 -Wall -v -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<" @echo 'Finished building: $<' @echo ' ' #-include objects.mk USER_OBJS := 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 ifneq ($(MAKECMDGOALS),clean) ifneq ($(strip $(C55_DEPS)),) -include $(C55_DEPS) endif ifneq ($(strip $(C_UPPER_DEPS)),) -include $(C_UPPER_DEPS) endif ifneq ($(strip $(S67_DEPS)),) -include $(S67_DEPS) endif ifneq ($(strip $(S62_DEPS)),) -include $(S62_DEPS) endif ifneq ($(strip $(S_DEPS)),) -include $(S_DEPS) endif ifneq ($(strip $(OPT_DEPS)),) -include $(OPT_DEPS) endif ifneq ($(strip $(C??_DEPS)),) -include $(C??_DEPS) endif ifneq ($(strip $(ASM_UPPER_DEPS)),) -include $(ASM_UPPER_DEPS) endif ifneq ($(strip $(S??_DEPS)),) -include $(S??_DEPS) endif ifneq ($(strip $(C64_DEPS)),) -include $(C64_DEPS) endif ifneq ($(strip $(CXX_DEPS)),) -include $(CXX_DEPS) endif ifneq ($(strip $(S64_DEPS)),) -include $(S64_DEPS) endif ifneq ($(strip $(INO_DEPS)),) -include $(INO_DEPS) endif ifneq ($(strip $(CLA_DEPS)),) -include $(CLA_DEPS) endif ifneq ($(strip $(S55_DEPS)),) -include $(S55_DEPS) endif ifneq ($(strip $(SV7A_DEPS)),) -include $(SV7A_DEPS) endif ifneq ($(strip $(C62_DEPS)),) -include $(C62_DEPS) endif ifneq ($(strip $(C67_DEPS)),) -include $(C67_DEPS) endif ifneq ($(strip $(PDE_DEPS)),) -include $(PDE_DEPS) endif ifneq ($(strip $(K_DEPS)),) -include $(K_DEPS) endif ifneq ($(strip $(C_DEPS)),) -include $(C_DEPS) endif ifneq ($(strip $(CC_DEPS)),) -include $(CC_DEPS) endif ifneq ($(strip $(C++_DEPS)),) -include $(C++_DEPS) endif ifneq ($(strip $(C43_DEPS)),) -include $(C43_DEPS) endif ifneq ($(strip $(S43_DEPS)),) -include $(S43_DEPS) endif ifneq ($(strip $(ASM_DEPS)),) -include $(ASM_DEPS) endif ifneq ($(strip $(S_UPPER_DEPS)),) -include $(S_UPPER_DEPS) endif ifneq ($(strip $(CPP_DEPS)),) -include $(CPP_DEPS) endif ifneq ($(strip $(SA_DEPS)),) -include $(SA_DEPS) endif endif #-include ../makefile.defs # Add inputs and outputs from these tool invocations to the build variables EXE_OUTPUTS += \ EcMasterDemo.out \ EXE_OUTPUTS__QUOTED += \ "EcMasterDemo.out" \ BIN_OUTPUTS += \ EcMasterDemo.hex \ BIN_OUTPUTS__QUOTED += \ "EcMasterDemo.hex" \ # All Target all: EcLib EcMasterDemo.out # Tool invocations EcLib: @$(MAKE) --no-print-directory -C ../../emllICSS/Release 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 -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/Release/" -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 ' ' EcMasterDemo.hex: $(EXE_OUTPUTS) @echo 'Invoking: GNU Objcopy Utility' "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy" $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex" @echo 'Finished building: $@' @echo ' ' # Other Targets clean: @$(MAKE) --no-print-directory -C ../../emllICSS/Release 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 -@echo 'Finished clean' -@echo ' '' .PHONY: all clean dependents .SECONDARY: #-include ../makefile.targets