####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 -d -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.exe" -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/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -Wall -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.exe" -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/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -Wall -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.exe" -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/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -Wall -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.exe" -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/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -Wall -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.exe" -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/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -Wall -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.exe" -r "../../../../SDK/LIB/SYSBIOS/am572x/Release/libemllICSS.a" $(ORDERED_OBJS) $(A_SRCS) @echo 'Finished building target: $@' @echo ' ' endif # Other Targets clean: -$(RM) $(LIB_OUTPUTS__QUOTED)$(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(GEN_FILES__QUOTED)$(GEN_OPTS__QUOTED) -$(RMDIR) $(GEN_MISC_DIRS__QUOTED) -$(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