]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blobdiff - makerules/env.mk
updated lib path for gcc compiler
[keystone-rtos/edma3_lld.git] / makerules / env.mk
index 4c99d04a4d76cb5805a29672980a348e05d3dcd9..99b698e19918dff405883fcd0c562d5d341fa783 100755 (executable)
@@ -7,12 +7,12 @@
 # Directory where all internal software packages are located; typically 
 #  those that are checked into version controlled repository. In this case all
 #  the OMX components and SDK/OMX demo.
-INTERNAL_SW_ROOT = E:/EDMA/edma3_lld_02_11_03_01
+INTERNAL_SW_ROOT ?= E:/EDMA/edma3_lld_02_12_01_25
 
 # Directory where all external (imported) software packages are located; typically 
 #  those that are NOT checked into version controlled repository. In this case,
 #  compiler tool chains, BIOS, XDC, Syslink, IPC, FC, CE, drivers, codecs, etc.
-EXTERNAL_SW_ROOT = C:/PROGRA~1/TEXASI~1
+EXTERNAL_SW_ROOT ?= C:/PROGRA~2/TEXASI~1
 
 # Destination root directory.
 #   - specify the directory where you want to place the object, archive/library,
@@ -23,23 +23,32 @@ EXTERNAL_SW_ROOT = C:/PROGRA~1/TEXASI~1
 # Utilities directory. This is required only if the build machine is Windows.
 #   - specify the installation directory of utility which supports POSIX commands
 #     (eg: Cygwin installation or MSYS installation).
-UTILS_INSTALL_DIR = C:/PROGRA~1/TEXASI~1/xdctools_3_22_04_46
+UTILS_INSTALL_DIR = $(EXTERNAL_SW_ROOT)/xdctools_3_61_00_16_core
 
 # Set path separator, etc based on the OS
+# On windows if sh.exe is installed (cygwin installs) make will execute
+# commands on sh or it executes on windows cmd prompt. When executing on sh,
+# unix style command seperator is used.
 ifeq ($(OS),Windows_NT)
   PATH_SEPARATOR = ;
   UTILSPATH = $(UTILS_INSTALL_DIR)/bin/
+  ifeq (cygwin,$(findstring cygwin,$(PATH)))
+  COMMAND_SEPERATOR = ;
+  else
+  COMMAND_SEPERATOR = &
+  endif
 else 
   # else, assume it is linux
   PATH_SEPARATOR = :
+  COMMAND_SEPERATOR = ;
 endif
 
 # BIOS
-bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_33_02_31
+bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_82_00_16
 bios_INCLUDE = $(bios_PATH)/packages
 
 # XDC
-xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_23_01_43
+xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_61_00_16_core
 xdc_INCLUDE = $(xdc_PATH)/packages
 
 # EDMA3 LLD
@@ -50,19 +59,31 @@ include $(edma3_lld_PATH)/packages/component.mk
 # Tools paths
 #
 # Cortex-M3
-CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/TMS470~1.0
-
+CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/ti-cgt-arm_20.2.0.LTS
+# Cortex-M4
+CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/ti-cgt-arm_20.2.0.LTS
 # Cortex-A8
-CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/TMS470~1.0
+CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/ti-cgt-arm_20.2.0.LTS
+# Cortex-A8 GCC
+CODEGEN_PATH_A8_GCC = $(EXTERNAL_SW_ROOT)/gcc-arm-none-eabi-9-2019-q4-major
+
+# Cortex-A15
+CODEGEN_PATH_A15 = $(EXTERNAL_SW_ROOT)/gcc-arm-none-eabi-9-2019-q4-major
+# Cortex-A15_GCC
+CODEGEN_PATH_A15_GCC = $(EXTERNAL_SW_ROOT)/gcc-arm-none-eabi-6-2017-q1-update
 
 # ARM-9
-CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/TMS470~1.0
+CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/ti-cgt-arm_20.2.0.LTS
+# ARM-9 GCC
+CODEGEN_PATH_A9_GCC = $(EXTERNAL_SW_ROOT)/gcc-arm-none-eabi-6-2017-q1-update
 
 # DSP - Since same toolchain does not support COFF and ELF, there are two entries
 #        This would go away when one version supports both formats
-CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~1.3
-CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~1.3
+CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/ti-cgt-c6000_8.3.2
+CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/ti-cgt-c6000_8.3.2
 
+# ARP32
+CODEGEN_PATH_ARP32 = /datalocal/ti_components/cg_tools/linux/arp32_1.0.8
 
 # Commands commonly used within the make files
 
@@ -93,6 +114,8 @@ CONFIG_BLD_XDC_a8 = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_arm9 = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_66 = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_m3 = $(edma3_lld_PATH)/packages/_config.bld
+CONFIG_BLD_XDC_m4 = $(edma3_lld_PATH)/packages/_config.bld
+CONFIG_BLD_XDC_a15 = $(edma3_lld_PATH)/packages/_config.bld
 
 XDCPATH = $(bios_PATH)/packages;$(xdc_PATH)/packages;$(edma3_lld_PATH)/packages;
 export XDCPATH
@@ -105,12 +128,9 @@ export XDCTOOLS
 TMS470_CGTOOLS = $(CODEGEN_PATH_M3)
 CGTOOLS = $(CODEGEN_PATH_DSP)
 CGTOOLS_ELF = $(CODEGEN_PATH_DSPELF)
-export TMS470CGTOOLPATH
+export TMS470_CGTOOLS
 
 CODESOURCERYCGTOOLS = $(CODEGEN_PATH_A8)
 export CODESOURCERYCGTOOLS
 
-PATH += $(PATH_SEPARATOR)$(xdc_PATH)$(PATH_SEPARATOR)$(CODEGEN_PATH_M3)/bin
-export PATH
-
 # Nothing beyond this point