Merged missing MCBSP LLD 1.0.0.2 updates
[keystone-rtos/mcbsp-lld.git] / setupenv.bat
1 @REM ******************************************************************************
2 @REM * FILE PURPOSE: Environment Setup for building MCBSP LLD
3 @REM ******************************************************************************
4 @REM * FILE NAME: setupenv.bat
5 @REM *
6 @REM * DESCRIPTION: 
7 @REM *  Configures and sets up the Build Environment
8 @REM *
9 @REM * Copyright (C) 2012, Texas Instruments, Inc.
10 @REM *****************************************************************************
12 @echo ---------------------------------------
13 @echo Configuring MCBSP LLD Build Environment
14 @echo off
16 IF DEFINED PARTNO GOTO partno_defined
17 @REM Configure the Part Number
18 set PARTNO=C6657
19 :partno_Defined
21 IF DEFINED PDK_INSTALL_PATH GOTO pdk_defined
22 set PDK_INSTALL_PATH=C:/ti/pdk_C6657_1_1_2_5/packages
23 :pdk_defined
25 @REM ---------------------------------
26 @REM Enabling MINI PACKAGE to be Built
27 @REM ---------------------------------
28 set MINI_PACKAGE=OFF
29 @echo MINI PACKAGE is set to %MINI_PACKAGE%
31 @REM This is the base location for the various tools. 
32 set XDCCGROOT=T:/c6xx/cgen7_3_02/c6000/cgtools
33 set C6X_GEN_INSTALL_PATH=T:/c6xx/cgen7_3_02/c6000/cgtools
35 @REM EDMA3 LLD installation path variables
36 set EDMA3LLD_BIOS6_INSTALLDIR=C:/ti/edma3_lld_02_11_05_02
38 REM *******************************************************************************
39 REM *************************** XDC PATH Configuration ****************************
40 REM *******************************************************************************
41 REM MCBSP LLD depends upon the following packages:-
42 REM     - CSL Package for the CSL Register Layer
43 REM     - EDMA3 LLD
44 REM     - RM LLD
45 REM     - BIOS Package
46 REM These packages should be installed before trying to build the driver else 
47 REM compilations will fail.
48 REM CSL/LLDs Package: CSL, MCBSP and RM are a part of the CSL/LLDs package.
50 @REM Specify the XDC Tool Path
51 set XDC_INSTALL_PATH=T:/gen/xdc/xdctools_3_22_04_46
52 set XDCPATH=../../..;%XDC_INSTALL_PATH%/packages
54 @REM Configure the XDCPATH
55 set XDCPATH=%XDCPATH%;%PDK_INSTALL_PATH%;%C6X_GEN_INSTALL_PATH%/include
56 set XDCPATH=%XDCPATH%;%EDMA3LLD_BIOS6_INSTALLDIR%/packages
58 @REM Eclipse Help Plugin (Not required by customers)
59 set XDC_ECLIPSE_PLUGIN_INSTALL_PATH=T:/gen/xdc/xdc_eclipse_plugin_gen/20091203
60 set XDC_FILTER_INSTALL_PATH=T:/gen/xdc/xdcFilter/20100428
61 set XDCPATH=%XDCPATH%;%XDC_ECLIPSE_PLUGIN_INSTALL_PATH%
62 set XDCPATH=%XDCPATH%;%XDC_FILTER_INSTALL_PATH%
64 @REM Configure the paths to ensure that the XDC is available.
65 set PATH=%XDC_INSTALL_PATH%;%XDC_INSTALL_PATH%\bin;T:\Doxygen\doxygen\1.5.1-p1\bin
67 @REM Third Party Tools: Install-Jammer (Not required by customers)
68 set PATH=%PATH%;T:\gen\InstallJammer\v1_3_0
70 set PATH=%PATH%;%XDCCGROOT%\bin;T:\gen\gnu\99-11-01\cygwin-b20\H-i586-cygwin32\bin
71 set PATH=%PATH%;T:\SDOApps\cg_xml\cg_xml_v2_30_00\bin
72 set PATH=%PATH%;T:\ti_pdsp_cgen\20091120
74 @REM Third Party Tools: HTML Help compiler.
75 set PATH=%PATH%;T:\Doxygen\HTML_Help_Workshop\10-01-2007
77 @REM Environment Variable which control STATIC Analysis of the code
78 set STATIC_ANALYZE_PATH=T:\gen\coverity\prevent-mingw-3.4.0
79 set PATH=%PATH%;%STATIC_ANALYZE_PATH%\bin
81 @REM Set the Title Window appropriately.
82 Title MCBSP LLD Build Environment
84 @echo MCBSP LLD Build Environment Configured 
85 @echo ---------------------------------------