]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blob - makerules/env.mk
Updated the xdc compat key for rel: 2.11.11.11
[keystone-rtos/edma3_lld.git] / makerules / env.mk
1 # File: env.mk. This file contains all the paths and other ENV variables
3 #
4 # Module paths
5 #
7 # Directory where all internal software packages are located; typically 
8 #  those that are checked into version controlled repository. In this case all
9 #  the OMX components and SDK/OMX demo.
10 INTERNAL_SW_ROOT = E:/EDMA/edma3_lld_02_11_07_01
12 # Directory where all external (imported) software packages are located; typically 
13 #  those that are NOT checked into version controlled repository. In this case,
14 #  compiler tool chains, BIOS, XDC, Syslink, IPC, FC, CE, drivers, codecs, etc.
15 EXTERNAL_SW_ROOT = C:/PROGRA~1/TEXASI~1
17 # Destination root directory.
18 #   - specify the directory where you want to place the object, archive/library,
19 #     binary and other generated files in a different location than source tree
20 #   - or leave it blank to place then in the same tree as the source
21 #DEST_ROOT = E:/Temp/edma3_lld_02_11_02_03
23 # Utilities directory. This is required only if the build machine is Windows.
24 #   - specify the installation directory of utility which supports POSIX commands
25 #     (eg: Cygwin installation or MSYS installation).
26 UTILS_INSTALL_DIR = $(EXTERNAL_SW_ROOT)/xdctools_3_25_00_48
28 # Set path separator, etc based on the OS
29 ifeq ($(OS),Windows_NT)
30   PATH_SEPARATOR = ;
31   UTILSPATH = $(UTILS_INSTALL_DIR)/bin/
32 else 
33   # else, assume it is linux
34   PATH_SEPARATOR = :
35 endif
37 # BIOS
38 bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_35_01_29
39 bios_INCLUDE = $(bios_PATH)/packages
41 # XDC
42 xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_25_00_48
43 xdc_INCLUDE = $(xdc_PATH)/packages
45 # EDMA3 LLD
46 edma3_lld_PATH = $(INTERNAL_SW_ROOT)
47 include $(edma3_lld_PATH)/packages/component.mk
49 #
50 # Tools paths
51 #
52 # Cortex-M3
53 CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
55 # Cortex-M4
56 CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
58 # Cortex-A8
59 CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
60 # Cortex-A8 GCC
61 CODEGEN_PATH_A8_GCC = C:/PROGRA~1/GNUTOO~1/4F700~1.720
63 # Cortex-A15
64 CODEGEN_PATH_A15 = C:/PROGRA~1/GNUTOO~1/4F700~1.720
66 # ARM-9
67 CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
69 # DSP - Since same toolchain does not support COFF and ELF, there are two entries
70 #        This would go away when one version supports both formats
71 CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~2.1
72 CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~2.1
74 # ARP32
75 CODEGEN_PATH_ARP32 = $(EXTERNAL_SW_ROOT)/ARP32C~1.2
77 # Commands commonly used within the make files
79 RM = $(UTILSPATH)rm
80 RMDIR = $(UTILSPATH)rm -rf
81 MKDIR = $(UTILSPATH)mkdir
82 ECHO = @$(UTILSPATH)echo
83 # MAKE = $(UTILSPATH)make
84 EGREP = $(UTILSPATH)egrep
85 CP = $(UTILSPATH)cp
87 # This is to avoid using full blown cygwin - chmod is really needed only linux
88 ifeq ($(OS),Windows_NT)
89 CHMOD = @echo
90 else
91 CHMOD = $(UTILSPATH)chmod
92 endif
94 #
95 # XDC specific ENV variables
96 #
98 # XDC Config.bld file (required for configuro) ; Derives from top-level omx_PATH
99 CONFIG_BLD_XDC_674 = $(edma3_lld_PATH)/packages/_config.bld
100 CONFIG_BLD_XDC_64p = $(edma3_lld_PATH)/packages/_config.bld
101 CONFIG_BLD_XDC_64t = $(edma3_lld_PATH)/packages/_config.bld
102 CONFIG_BLD_XDC_a8 = $(edma3_lld_PATH)/packages/_config.bld
103 CONFIG_BLD_XDC_arm9 = $(edma3_lld_PATH)/packages/_config.bld
104 CONFIG_BLD_XDC_66 = $(edma3_lld_PATH)/packages/_config.bld
105 CONFIG_BLD_XDC_m3 = $(edma3_lld_PATH)/packages/_config.bld
106 CONFIG_BLD_XDC_m4 = $(edma3_lld_PATH)/packages/_config.bld
107 CONFIG_BLD_XDC_a15 = $(edma3_lld_PATH)/packages/_config.bld
109 XDCPATH = $(bios_PATH)/packages;$(xdc_PATH)/packages;$(edma3_lld_PATH)/packages;
110 export XDCPATH
112 XDCROOT = $(xdc_PATH)
113 XDCTOOLS = $(xdc_PATH)
114 export XDCROOT
115 export XDCTOOLS
117 TMS470_CGTOOLS = $(CODEGEN_PATH_M3)
118 CGTOOLS = $(CODEGEN_PATH_DSP)
119 CGTOOLS_ELF = $(CODEGEN_PATH_DSPELF)
120 export TMS470_CGTOOLS
122 CODESOURCERYCGTOOLS = $(CODEGEN_PATH_A8)
123 export CODESOURCERYCGTOOLS
125 PATH += $(PATH_SEPARATOR)$(xdc_PATH)$(PATH_SEPARATOR)$(CODEGEN_PATH_M3)/bin
126 export PATH
128 # Nothing beyond this point