]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blob - scripts/build_pdk_libs.bat
Add ARM/DSP debug build profiles which use generated dolby ip packages
[processor-sdk/performance-audio-sr.git] / scripts / build_pdk_libs.bat
1 @echo off
2 :: *************************************************************************
3 ::  FILE           : build_pdk_libs.bat
4 ::  DESCRIPTION    :
5 ::
6 ::     Builds DSP PDK LLD libraries: UART, SPI, and I2C.
7 ::
8 :: *************************************************************************
10 @echo Executing:  %~fn0
12 if "%PASDK_ROOT_DIR%" == "" set PASDK_ROOT_DIR=%~dp0..\
14 :: Save path
15 set PATH_ORG=%PATH%
17 :: Set custom Processor SDK local root directory
18 set PSDK_CUST_LROOT_DIR=%PASDK_ROOT_DIR%psdk_cust
20 pushd %PSDK_CUST_LROOT_DIR%\pdk_k2g_1_0_1_0_eng\packages
21 call pdksetupenv.bat
23 :: Build I2C LLD library
24 pushd ti\drv\i2c
25 gmake clean
26 gmake all
27 popd
29 :: Build SPI LLD library
30 pushd ti\drv\spi
31 gmake clean
32 gmake all
33 popd
35 :: Build UART LLD library
36 pushd ti\drv\uart
37 gmake clean
38 gmake all
39 popd
41 popd
43 :: Restore path
44 set PATH=%PATH_ORG%
46 set PSDK_CUST_LROOT_DIR=