Add cygwin to path end instead of path start so git.exe found in git installation...
[processor-sdk/performance-audio-sr.git] / scripts / build_alg_libs.bat
1 @echo off
2 :: *************************************************************************
3 ::  FILE           : build_alg_libs.bat
4 ::  DESCRIPTION    :
5 ::
6 ::     Builds ARM/DSP Atmos component libraries.
7 ::     Assumes setup_env.bat has been called.
8 ::
9 :: *************************************************************************
11 @echo Executing:  %~fn0
13 if "%PASDK_ROOT_DIR%" == "" set PASDK_ROOT_DIR=%~dp0..\
15 :: Save path
16 set PATH_ORG=%PATH%
18 :: Set PASDK local root directory
19 set PASDK_LROOT_DIR=%PASDK_ROOT_DIR%pasdk
20 :: Set PAF root directory
21 set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
22 :: Set Dolby IP local root directory
23 set DOLBY_IP_LROOT=%PASDK_ROOT_DIR%dolby_ip
25 ::
26 :: cygwin must be in path for all but OAR & BMDA makefiles
27 ::
28 set PATH=%PATH%;c:\cygwin\bin
31 rem
32 rem ARM libraries
33 rem
35 ::rem DDP alg lib
36 pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_lib\a15
37 gmake clean
38 gmake
39 popd
40 ::rem DDP wrapper lib
41 pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_wrapper\a15
42 gmake clean
43 gmake
44 popd
46 :: THD alglib
47 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\dthd_dec_lib\a15
48 gmake clean
49 gmake
50 popd
51 :: MAT alg lib
52 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\mat_dec_lib\a15
53 gmake clean
54 gmake
55 popd
56 :: MAT-THD wrapper lib
57 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\thd_alg_lib\a15
58 gmake clean
59 gmake
60 popd
63 rem
64 rem DSP libraries
65 rem
67 :: CAR alg lib
68 pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\libcar\tisim_eabi_c66_ccs
69 gmake cleanself
70 gmake
71 popd
72 :: CAR wrapper lib
73 pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\alg_car\tisim_eabi_c66_ccs
74 gmake cleanself
75 gmake
76 popd
78 ::
79 :: cygwin must not be in path for OAR & BMDA makefiles
80 ::
81 set PATH=%PATH_ORG%
83 :: OAR combined alg+wrapper lib
84 pushd %DOLBY_IP_LROOT%\oar\CCS_OAR_lib\make
85 gmake clean
86 gmake
87 popd
89 :: BMDA combined alg+wrapper lib
90 pushd %PAF_ROOT_DIR%pa\build
91 sed -i -e "s/export ARCH   = a15/export ARCH   = c66x/g" target.mk
92 popd
93 pushd %DOLBY_IP_LROOT%\bmda\Source_Code\make
94 gmake clean
95 gmake
96 popd
99 :end
101 set PATH_ORG
102 set PASDK_LROOT_DIR
103 set PAF_ROOT_DIR
104 set DOLBY_IP_LROOT