Makefiles for linux
authorPaula Carrillo <a0133185@ti.com>
Tue, 30 May 2017 02:57:27 +0000 (21:57 -0500)
committerPaula Carrillo <a0133185@ti.com>
Tue, 30 May 2017 02:57:27 +0000 (21:57 -0500)
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile_linux [new file with mode: 0644]
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile_Linux [new file with mode: 0644]
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Debug/makefile_linux [new file with mode: 0644]
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Release/makefile_linux [new file with mode: 0644]

diff --git a/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile_linux b/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile_linux
new file mode 100644 (file)
index 0000000..9ec191c
--- /dev/null
@@ -0,0 +1,434 @@
+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 \
+-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.evmAM572X -r debug -c "$(TOOLCHAIN_PATH_A15)" "$<"
+       @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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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 -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -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 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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: EcMasterDemo.out
+
+# Tool invocations
+EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
+       @echo 'Building target: $@'
+       @echo 'Invoking: GNU Linker'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -g -gdwarf-3 -gstrict-dwarf -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/Debug/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -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) "EcMasterDemo.hex"
+       @echo 'Finished building: $@'
+       @echo ' '
+
+# Other Targets
+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
+
diff --git a/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile_Linux b/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile_Linux
new file mode 100644 (file)
index 0000000..f19711f
--- /dev/null
@@ -0,0 +1,434 @@
+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 \
+-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 -rf
+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.evmAM572X -r release -c "$(TOOLCHAIN_PATH_A15)" "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @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 -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) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+
+#-include eni/subdir_rules.mk
+eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(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) "$<"
+       @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: EcMasterDemo.out
+
+# Tool invocations
+EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
+       @echo 'Building target: $@'
+       @echo 'Invoking: GNU Linker'
+       "$(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)
+       @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:
+       -$(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
+
diff --git a/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Debug/makefile_linux b/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Debug/makefile_linux
new file mode 100644 (file)
index 0000000..4e6b346
--- /dev/null
@@ -0,0 +1,289 @@
+
+
+####PC-- test ####
+ifndef MAKE
+export MAKE = make
+endif
+
+ifndef ECHO
+export ECHO = echo
+endif
+
+GEN_OPTS__FLAG := @"configPkg/compiler.opt"
+GEN_CMDS__FLAG := "configPkg/linker.cmd"
+
+ORDERED_OBJS += \
+"./TimerP_tirtos.o" \
+"./UART_soc.o" \
+"./icss_emacSoc.o" \
+"./icss_emac_ec_device.o" \
+"./test_common_utils.o" \
+
+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
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+
+#-include subdir_vars.mk
+# Add inputs and outputs from these tool invocations to the build variables 
+CFG_SRCS += \
+..\..\EcMasterDemo\EcMaster.cfg 
+
+C_SRCS += \
+$(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c \
+$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
+$(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c \
+../icss_emac_ec_device.c \
+$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c
+
+
+OBJS += \
+./TimerP_tirtos.o \
+./UART_soc.o \
+./icss_emacSoc.o \
+./icss_emac_ec_device.o \
+./test_common_utils.o 
+
+C_DEPS += \
+./TimerP_tirtos.d \
+./UART_soc.d \
+./icss_emacSoc.d \
+./icss_emac_ec_device.d \
+./test_common_utils.d 
+
+GEN_MISC_DIRS += \
+./configPkg 
+
+GEN_CMDS += \
+./configPkg/linker.cmd 
+
+GEN_OPTS += \
+./configPkg/compiler.opt 
+
+GEN_FILES += \
+./configPkg/linker.cmd \
+./configPkg/compiler.opt 
+
+GEN_FILES__QUOTED += \
+"configPkg\linker.cmd" \
+"configPkg\compiler.opt" 
+
+GEN_MISC_DIRS__QUOTED += \
+"configPkg" 
+
+OBJS__QUOTED += \
+"TimerP_tirtos.o" \
+"UART_soc.o" \
+"icss_emacSoc.o" \
+"icss_emac_ec_device.o" \
+"test_common_utils.o" 
+
+C_DEPS__QUOTED += \
+"TimerP_tirtos.d" \
+"UART_soc.d" \
+"icss_emacSoc.d" \
+"icss_emac_ec_device.d" \
+"test_common_utils.d" 
+
+C_SRCS__QUOTED += \
+"$(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c" \
+"../icss_emac_ec_device.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c" 
+
+#-include subdir_rules.mk
+# Each subdirectory must supply rules for building sources it contributes
+configPkg/linker.cmd: ../../EcMasterDemo/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.evmAM572X -r debug -c "$(TOOLCHAIN_PATH_A15)" "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+configPkg/compiler.opt: | configPkg/linker.cmd
+configPkg/: | configPkg/linker.cmd
+
+TimerP_tirtos.o: $(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c $(GEN_OPTS) | $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -c -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 -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+icss_emacSoc.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+icss_emac_ec_device.o: ../icss_emac_ec_device.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+test_common_utils.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+#-include objects.mk
+USER_OBJS :=
+
+LIBS :=
+
+
+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 
+LIB_OUTPUTS += \
+../../../../SDK/LIB/SYSBIOS/am572x/Debug/libemllICSS.a \
+
+LIB_OUTPUTS__QUOTED += \
+"..\..\..\..\SDK\LIB\SYSBIOS\am572x\Debug\libemllICSS.a" \
+
+
+# All Target
+all:
+       @$(MAKE) --no-print-directory configPkg/linker.cmd
+       @$(MAKE) --no-print-directory main-build
+
+# Main-build Target
+main-build: ../../../../SDK/LIB/SYSBIOS/am572x/Debug/libemllICSS.a
+
+# Tool invocations
+../../../../SDK/LIB/SYSBIOS/am572x/Debug/libemllICSS.a: $(OBJS) $(O_SRCS) $(CMD_SRCS) $(A_SRCS)
+ifneq ($(strip $(ORDERED_OBJS)),)
+       @echo 'Building target: $@'
+       @echo 'Invoking: GNU Librarian'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-ar" -r "../../../../SDK/LIB/SYSBIOS/am572x/Debug/libemllICSS.a" $(ORDERED_OBJS) $(A_SRCS)
+       @echo 'Finished building target: $@'
+       @echo ' '
+endif
+
+# Other Targets
+clean:
+       -$(RM) $(LIB_OUTPUTS)$(GEN_CMDS)$(GEN_MISC_FILES)$(GEN_FILES)$(GEN_OPTS)
+       -$(RMDIR) $(GEN_MISC_DIRS)
+       -$(RM) TimerP_tirtos.o UART_soc.o icss_emacSoc.o icss_emac_ec_device.o test_common_utils.o 
+       -$(RM) TimerP_tirtos.d UART_soc.d icss_emacSoc.d icss_emac_ec_device.d test_common_utils.d 
+       -@echo 'Finished clean'
+       -@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include ../makefile.targets
+
diff --git a/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Release/makefile_linux b/EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/emllICSS/Release/makefile_linux
new file mode 100644 (file)
index 0000000..bf10481
--- /dev/null
@@ -0,0 +1,289 @@
+
+
+####PC-- test ####
+ifndef MAKE
+export MAKE = make
+endif
+
+ifndef ECHO
+export ECHO = echo
+endif
+
+GEN_OPTS__FLAG := @"configPkg/compiler.opt"
+GEN_CMDS__FLAG := "configPkg/linker.cmd"
+
+ORDERED_OBJS += \
+"./TimerP_tirtos.o" \
+"./UART_soc.o" \
+"./icss_emacSoc.o" \
+"./icss_emac_ec_device.o" \
+"./test_common_utils.o" \
+
+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
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+
+#-include subdir_vars.mk
+# Add inputs and outputs from these tool invocations to the build variables 
+CFG_SRCS += \
+..\..\EcMasterDemo\EcMaster.cfg 
+
+C_SRCS += \
+$(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c \
+$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
+$(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c \
+../icss_emac_ec_device.c \
+$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c
+
+
+OBJS += \
+./TimerP_tirtos.o \
+./UART_soc.o \
+./icss_emacSoc.o \
+./icss_emac_ec_device.o \
+./test_common_utils.o 
+
+C_DEPS += \
+./TimerP_tirtos.d \
+./UART_soc.d \
+./icss_emacSoc.d \
+./icss_emac_ec_device.d \
+./test_common_utils.d 
+
+GEN_MISC_DIRS += \
+./configPkg 
+
+GEN_CMDS += \
+./configPkg/linker.cmd 
+
+GEN_OPTS += \
+./configPkg/compiler.opt 
+
+GEN_FILES += \
+./configPkg/linker.cmd \
+./configPkg/compiler.opt 
+
+GEN_FILES__QUOTED += \
+"configPkg\linker.cmd" \
+"configPkg\compiler.opt" 
+
+GEN_MISC_DIRS__QUOTED += \
+"configPkg" 
+
+OBJS__QUOTED += \
+"TimerP_tirtos.o" \
+"UART_soc.o" \
+"icss_emacSoc.o" \
+"icss_emac_ec_device.o" \
+"test_common_utils.o" 
+
+C_DEPS__QUOTED += \
+"TimerP_tirtos.d" \
+"UART_soc.d" \
+"icss_emacSoc.d" \
+"icss_emac_ec_device.d" \
+"test_common_utils.d" 
+
+C_SRCS__QUOTED += \
+"$(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c" \
+"../icss_emac_ec_device.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c" 
+
+#-include subdir_rules.mk
+# Each subdirectory must supply rules for building sources it contributes
+configPkg/linker.cmd: ../../EcMasterDemo/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.evmAM572X -r release -c "$(TOOLCHAIN_PATH_A15)" "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+configPkg/compiler.opt: | configPkg/linker.cmd
+configPkg/: | configPkg/linker.cmd
+
+TimerP_tirtos.o: $(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c $(GEN_OPTS) | $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -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 -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+icss_emacSoc.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+icss_emac_ec_device.o: ../icss_emac_ec_device.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+test_common_utils.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c $(GEN_OPTS) $(GEN_HDRS)
+       @echo 'Building file: $<'
+       @echo 'Invoking: GNU Compiler'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
+
+#-include objects.mk
+USER_OBJS :=
+
+LIBS :=
+
+
+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 
+LIB_OUTPUTS += \
+../../../../SDK/LIB/SYSBIOS/am572x/Release/libemllICSS.a \
+
+LIB_OUTPUTS__QUOTED += \
+"..\..\..\..\SDK\LIB\SYSBIOS\am572x\Release\libemllICSS.a" \
+
+
+# All Target
+all:
+       @$(MAKE) --no-print-directory configPkg/linker.cmd
+       @$(MAKE) --no-print-directory main-build
+
+# Main-build Target
+main-build: ../../../../SDK/LIB/SYSBIOS/am572x/Release/libemllICSS.a
+
+# Tool invocations
+../../../../SDK/LIB/SYSBIOS/am572x/Release/libemllICSS.a: $(OBJS) $(O_SRCS) $(CMD_SRCS) $(A_SRCS)
+ifneq ($(strip $(ORDERED_OBJS)),)
+       @echo 'Building target: $@'
+       @echo 'Invoking: GNU Librarian'
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-ar" -r "../../../../SDK/LIB/SYSBIOS/am572x/Release/libemllICSS.a" $(ORDERED_OBJS) $(A_SRCS)
+       @echo 'Finished building target: $@'
+       @echo ' '
+endif
+
+# Other Targets
+clean:
+       -$(RM) $(LIB_OUTPUTS)$(GEN_CMDS)$(GEN_MISC_FILES)$(GEN_FILES)$(GEN_OPTS)
+       -$(RMDIR) $(GEN_MISC_DIRS)
+       -$(RM) TimerP_tirtos.o UART_soc.o icss_emacSoc.o icss_emac_ec_device.o test_common_utils.o 
+       -$(RM) TimerP_tirtos.d UART_soc.d icss_emacSoc.d icss_emac_ec_device.d test_common_utils.d 
+       -@echo 'Finished clean'
+       -@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include ../makefile.targets
+