Merged from master, added a15 support for k2l, c66ak2e
[keystone-rtos/edma3_lld.git] / makerules / env.mk
index 52592727a91f4156db1c8f4d286593d183946a2e..6cca5ca5f471148ba1fa4464da3b20ebfd35de5d 100755 (executable)
@@ -7,14 +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_07_01
-INTERNAL_SW_ROOT = C:/data/project/edma3-lld/edma3_lld_development
+INTERNAL_SW_ROOT ?= E:/EDMA/edma3_lld_02_11_07_01
 
 # 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:/ti
+EXTERNAL_SW_ROOT ?= C:/PROGRA~1/TEXASI~1
 
 # Destination root directory.
 #   - specify the directory where you want to place the object, archive/library,
@@ -25,7 +23,6 @@ EXTERNAL_SW_ROOT = C:/ti
 # 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 = $(EXTERNAL_SW_ROOT)/xdctools_3_25_00_48
 UTILS_INSTALL_DIR = $(EXTERNAL_SW_ROOT)/xdctools_3_25_04_88
 
 # Set path separator, etc based on the OS
@@ -42,7 +39,6 @@ bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_37_00_16_eng
 bios_INCLUDE = $(bios_PATH)/packages
 
 # XDC
-#xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_25_00_48
 xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_25_04_88
 xdc_INCLUDE = $(xdc_PATH)/packages
 
@@ -54,30 +50,29 @@ include $(edma3_lld_PATH)/packages/component.mk
 # Tools paths
 #
 # Cortex-M3
-#CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
-CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.0.4
+CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
 # Cortex-M4
-#CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
-CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.0.4
+CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
 # Cortex-A8
-#CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
-CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.0.4
+CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
 # Cortex-A8 GCC
 CODEGEN_PATH_A8_GCC = C:/PROGRA~1/GNUTOO~1/4F700~1.720
 
 # Cortex-A15
 CODEGEN_PATH_A15 = C:/PROGRA~1/GNUTOO~1/4F700~1.720
+# Cortex-A15_GCC
+CODEGEN_PATH_A15_GCC = $(EXTERNAL_SW_ROOT)/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/
 
 # ARM-9
-#CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
-CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.0.4
+CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
 
 # 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~2.1
-CODEGEN_PATH_DSP = C:/ti/ccsv5/tools/compiler/c6000_7.4.2
-#CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~2.1
-CODEGEN_PATH_DSPELF = C:/ti/ccsv5/tools/compiler/c6000_7.4.2
+CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~2.1
+CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~2.1
+
+# ARP32
+CODEGEN_PATH_ARP32 = $(EXTERNAL_SW_ROOT)/ARP32C~1.2
 
 # Commands commonly used within the make files