diff --git a/.project/templates/makefile_pru.xdt b/.project/templates/makefile_pru.xdt index df6e3ad..6514b19 100644 --- a/.project/templates/makefile_pru.xdt +++ b/.project/templates/makefile_pru.xdt @@ -4,19 +4,13 @@ ################################################################################ # Automatically-generated file. Do not edit! ################################################################################ +# Required input arguments : +# CCS_PROJECT_DEBUG=${CWD} Use this input argument to include files from external paths -SHELL = cmd.exe export `args.sdkPath`?=$(abspath `args.relPath`) -CCS_PATH?=$(CCS_INSTALL_DIR)/ccs_base/pru/include -CG_TOOL_ROOT := C:/ti/ti-cgt-pru_2.3.3 +include $(`args.sdkPath`)/imports.mak SYSCFG_DIR := $(CCS_PROJECT_DEBUG)/syscfg - -GEN_OPTS__FLAG := -GEN_CMDS__FLAG := - -% // review these include files --include ../makefile.init - +CG_TOOL_ROOT := $(CGT_TI_PRU_PATH) RM := DEL /F RMDIR := RMDIR /S/Q @@ -68,7 +62,6 @@ vpath %.cmd $(FILES_PATH) % } % } % let cmdSubStr = commandString; -% commandString += `--include_path="$(CCS_PATH)" `; % if ("postBuildSteps" in obj || obj["defaultPruPostBuildSteps"]) { % commandString += `--include_path="$(SYSCFG_DIR)" `; % } @@ -80,16 +73,6 @@ vpath %.cmd $(FILES_PATH) % } % } % } -# Each subdirectory must supply rules for building sources it contributes -$(OBJDIR)/$(OBJS): $(ASM_SRCS) - @echo 'Building file: "$<"' - @echo 'Invoking: PRU Compiler' - "$(CG_TOOL_ROOT)/bin/clpru" `commandString` --define=_DEBUG_=1 -g --diag_warning=225 --diag_wrap=off --display_error_number --endian=little --preproc_with_compile --preproc_dependency="$(basename $(