0e746d7402a20ac5dd8fac614fb5b15e89514c81
[processor-sdk/performance-audio-sr.git] / build_alg_libs.bat
1 rem
2 rem Assumes setup_env.bat has been called
3 rem
5 set PATH_ORG=%PATH%
6 set CYGPATH=c:\cygwin\bin
7 set PASDK_LROOT=pasdk
8 set DOLBY_IP_LROOT=dolby_ip
10 ::
11 :: cygwin must be in path for all but OAR & BMDA makefiles
12 ::
13 set PATH=c:\cygwin\bin;%PATH%
16 rem
17 rem ARM libraries
18 rem
20 ::rem DDP alg lib
21 pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_lib\a15
22 gmake clean
23 gmake
24 popd
25 ::rem DDP wrapper lib
26 pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_wrapper\a15
27 gmake clean
28 gmake
29 popd
31 :: THD alglib
32 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\dthd_dec_lib\a15
33 gmake clean
34 gmake
35 popd
36 :: MAT alg lib
37 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\mat_dec_lib\a15
38 gmake clean
39 gmake
40 popd
41 :: MAT-THD wrapper lib
42 pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\thd_alg_lib\a15
43 gmake clean
44 gmake
45 popd
48 rem
49 rem DSP libraries
50 rem
52 :: CAR alg lib
53 pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\libcar\tisim_eabi_c66_ccs
54 gmake cleanself
55 gmake
56 popd
57 :: CAR wrapper lib
58 pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\alg_car\tisim_eabi_c66_ccs
59 gmake cleanself
60 gmake
61 popd
63 ::
64 :: cygwin must not be in path for OAR & BMDA makefiles
65 ::
66 set PATH=%PATH_ORG%
68 :: OAR combined alg+wrapper lib
69 pushd %DOLBY_IP_LROOT%\oar\CCS_OAR_lib\make
70 gmake clean
71 gmake
72 popd
74 :: BMDA combined alg+wrapper lib
75 ::
76 :: NOTE: requires ARCH = c66x in paf\pa\build\target.mk
77 ::
78 pushd %PASDK_LROOT%\paf\pa\build
79 %CYGPATH%\sed -i -e 's/export ARCH   = a15/export ARCH   = c66x/g' target.mk
80 popd
81 pushd %DOLBY_IP_LROOT%\bmda\Source_Code\make
82 gmake clean
83 gmake
84 popd
87 :end
89 set PATH_ORG=
90 set CYGPATH=
91 set PASDK_LROOT=
92 set DOBLY_IP_ROOT=