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