NOTICE OF RELOCATION
[keystone-rtos/pcie-lld.git] / setupenv.bat
1 @REM ******************************************************************************\r
2 @REM * FILE PURPOSE: Environment Setup for building PCIE LLD\r
3 @REM ******************************************************************************\r
4 @REM * FILE NAME: setupenv.bat\r
5 @REM *\r
6 @REM * DESCRIPTION: \r
7 @REM *  Configures and sets up the Build Environment\r
8 @REM *\r
9 @REM * Copyright (C) 2012-2014, Texas Instruments, Inc.\r
10 @REM *****************************************************************************\r
11 \r
12 @echo ---------------------------------------\r
13 @echo Configuring PCIE LLD Build Environment\r
14 @echo off\r
15 \r
16 IF DEFINED PARTNO GOTO partno_defined\r
17 @REM Configure the Part Number\r
18 set PARTNO=keystone2\r
19 :partno_Defined\r
20 \r
21 IF DEFINED PDK_INSTALL_PATH GOTO pdk_defined\r
22 set PDK_INSTALL_PATH=C:\ti\pdk_keystone2_1_00_00_03\packages\r
23 :pdk_defined\r
24 \r
25 @REM ---------------------------------\r
26 @REM Enabling MINI PACKAGE to be Built\r
27 @REM ---------------------------------\r
28 set MINI_PACKAGE=OFF\r
29 @echo MINI PACKAGE is set to %MINI_PACKAGE%\r
30 \r
31 @REM ---------------------------------
32 @REM Enabling debug flags
33 @REM ---------------------------------
34 set EXTDBGFLAGS=-mn -g\r
36 @REM This is the base location for the various tools. \r
37 set XDCCGROOT=T:/c6xx/cgen7_3_02/c6000/cgtools\r
38 set C6X_GEN_INSTALL_PATH=T:/c6xx/cgen7_3_02/c6000/cgtools\r
39 set TOOLCHAIN_PATH_M4=c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2\r
40 set TOOLCHAIN_PATH_A15=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3\r
41 set CROSS_TOOL_PRFX=arm-none-eabi-\r
42 \r
43 @REM Specify the XDC Tool Path\r
44 @REM set XDC_INSTALL_PATH=T:/gen/xdc/xdctools_3_22_04_46\r
45 set XDC_INSTALL_PATH=C:/ti/xdctools_3_30_06_67\r
46 set XDCPATH=../../..;%XDC_INSTALL_PATH%/packages\r
47 \r
48 @REM Configure the XDCPATH\r
49 @REM set XDCPATH=%XDCPATH%;%PDK_INSTALL_PATH%;%C6X_GEN_INSTALL_PATH%/include;\r
50 set XDCPATH=%XDCPATH%;%PDK_INSTALL_PATH%;\r
51 \r
52 @REM Eclipse Help Plugin (Not required by customers)\r
53 set XDC_ECLIPSE_PLUGIN_INSTALL_PATH=T:/gen/xdc/xdc_eclipse_plugin_gen/20091203\r
54 set XDC_FILTER_INSTALL_PATH=T:/gen/xdc/xdcFilter/20100428\r
55 set XDCPATH=%XDCPATH%;%XDC_ECLIPSE_PLUGIN_INSTALL_PATH%\r
56 set XDCPATH=%XDCPATH%;%XDC_FILTER_INSTALL_PATH%\r
57 \r
58 @REM Configure the paths to ensure that the XDC is available.\r
59 set PATH=%XDC_INSTALL_PATH%;%XDC_INSTALL_PATH%\bin;T:\Doxygen\doxygen\1.5.1-p1\bin\r
60 \r
61 @REM Third Party Tools: Install-Jammer (Not required by customers)\r
62 set PATH=%PATH%;T:\gen\InstallJammer\v1_2_05\r
63 \r
64 set PATH=%PATH%;T:\gen\gnu\99-11-01\cygwin-b20\H-i586-cygwin32\bin\r
65 set PATH=%PATH%;T:\SDOApps\cg_xml\cg_xml_v2_30_00\bin\r
66 set PATH=%PATH%;T:\ti_pdsp_cgen\20111216\r
67 set PATH=%PATH%;%C6X_GEN_INSTALL_PATH%\bin\r
68 set PATH=%PATH%;%TOOLCHAIN_PATH_M4%\bin\r
69 set PATH=%PATH%;%TOOLCHAIN_PATH_A15%\bin\r
70 \r
71 @REM Third Party Tools: HTML Help compiler.\r
72 set PATH=%PATH%;T:\Doxygen\HTML_Help_Workshop\10-01-2007\r
73 \r
74 @REM Environment Variable which control STATIC Analysis of the code\r
75 set STATIC_ANALYZE_PATH=T:\gen\coverity\prevent-mingw-3.4.0\r
76 set PATH=%PATH%;%STATIC_ANALYZE_PATH%\bin\r
77 \r
78 @REM Set the Title Window appropriately.\r
79 Title PCIE LLD Build Environment\r
80 \r
81 @echo PCIE LLD Build Environment Configured \r
82 @echo ---------------------------------------\r
83 \r