################################################################################ # Automatically-generated file. Do not edit! ################################################################################ SHELL = cmd.exe CG_TOOL_ROOT := C:/ti/ti_cgt_pru_2.3.3 GEN_OPTS__FLAG := GEN_CMDS__FLAG := ORDERED_OBJS += \ "./main.obj" \ "../linker.cmd" \ $(GEN_CMDS__FLAG) \ -include ../makefile.init RM := DEL /F RMDIR := RMDIR /S/Q # All of the sources participating in the build are defined here -include sources.mk -include subdir_vars.mk -include subdir_rules.mk -include objects.mk 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 += \ ICSSG0_PRU1_AFDX.out EXE_OUTPUTS__QUOTED += \ "ICSSG0_PRU1_AFDX.out" # All Target all: $(OBJS) $(CMD_SRCS) $(GEN_CMDS) @$(MAKE) --no-print-directory -Onone "ICSSG0_PRU1_AFDX.out" # Tool invocations ICSSG0_PRU1_AFDX.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS) @echo 'Building target: "$@"' @echo 'Invoking: PRU Linker' "C:/ti/ti_cgt_pru_2.3.3/bin/clpru" -v4 --define=ICSSG0 --define=PRU1 --define=SLICE1 --define=SOC_AM64X --define=OS_FW --define=_DEBUG_=1 -g --diag_warning=225 --diag_wrap=off --display_error_number --endian=little -z -m"empty.Debug.map" --disable_auto_rts --diag_suppress=10063-D --diag_wrap=off --display_error_number --warn_sections --xml_link_info="ICSSG0_PRU1_AFDX_linkInfo.xml" --entry_point=main --rom_model -o "ICSSG0_PRU1_AFDX.out" $(ORDERED_OBJS) @echo 'Finished building target: "$@"' @echo ' ' @$(MAKE) --no-print-directory post-build # Other Targets clean: -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED) -$(RM) "main.obj" -$(RM) "main.d" -$(RMDIR) $(GEN_MISC_DIRS__QUOTED) -@echo 'Finished clean' -@echo ' ' post-build: -$(CG_TOOL_ROOT)/bin/hexpru --diag_wrap=off --array --array:name_prefix=PRU1Firmware -o pru1_load_bin.h empty_am64x-evm_icss_g0_pru1_fw_ti-pru-cgt.out -if win32 == win32 $(CCS_INSTALL_DIR)/utils/cygwin/sed -i '0r C:/ti/mcu_plus_sdk_am64x_11_02_00_24/source/pru_io/firmware/pru_load_bin_copyright.h' pru1_load_bin.h -if win32 == linux sed -i '0r C:/ti/mcu_plus_sdk_am64x_11_02_00_24/source/pru_io/firmware/pru_load_bin_copyright.h' pru1_load_bin.h -if win32 == win32 move pru1_load_bin.h C:/ti/mcu_plus_sdk_am64x_11_02_00_24/examples/pru_io/empty/firmware/am64x-evm/pru1_load_bin.h -if win32 == linux mv pru1_load_bin.h C:/ti/mcu_plus_sdk_am64x_11_02_00_24/examples/pru_io/empty/firmware/am64x-evm/pru1_load_bin.h -@echo ' ' .PHONY: all clean dependents .SECONDARY: -include ../makefile.targets