PASDK-585:Update build scripts
[processor-sdk/performance-audio-sr.git] / scripts / build_parma_libs.bat
1 @echo off
2 :: *************************************************************************
3 ::  FILE           : build_parma_libs.bat
4 ::  DESCRIPTION    :
5 ::
6 ::     Builds ARM/DSP DTS:X PARMA 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 set PASDK_ROOT_DIR_FS=%PASDK_ROOT_DIR:\=/%
16 set C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA:\=/%
18 SET DTSX_SOURCE_PATH=..\3p-ip-dts\Source_Code\PARMA
20 pushd %DTSX_SOURCE_PATH%\parma-dec\misc\build\c66x\Release
21 echo.
22 echo %cd%
23 echo gmake clean
24 gmake clean
25 echo.
26 echo %cd%
27 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
28 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
29 popd
31 pushd %DTSX_SOURCE_PATH%\la-strm-reconstruction\misc\build\c66x\Release
32 echo.
33 echo %cd%
34 echo gmake clean
35 gmake clean
36 echo.
37 echo %cd%
38 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
39 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
40 popd
42 pushd %DTSX_SOURCE_PATH%\lbr\misc\build\c66x\lbr\Release
43 echo.
44 echo %cd%
45 echo gmake clean
46 gmake clean
47 echo.
48 echo %cd%
49 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
50 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
51 popd
53 pushd  %DTSX_SOURCE_PATH%\lbr\misc\build\c66x\lbrdec\Release
54 echo.
55 echo %cd%
56 echo gmake clean
57 gmake clean
58 echo.
59 echo %cd%
60 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
61 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
62 popd
64 pushd %DTSX_SOURCE_PATH%\dts-3d\misc\build\c66x\Release
65 echo.
66 echo %cd%
67 echo gmake clean
68 gmake clean
69 echo.
70 echo %cd%
71 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
72 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
73 popd
75 pushd %DTSX_SOURCE_PATH%\dts-base\misc\build\c66x\Release
76 echo.
77 echo %cd%
78 echo gmake clean
79 gmake clean
80 echo.
81 echo %cd%
82 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
83 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
84 popd
86 pushd %DTSX_SOURCE_PATH%\common-flib\misc\build\c66x\Release
87 echo.
88 echo %cd%
89 echo gmake clean
90 gmake clean
91 echo.
92 echo %cd%
93 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
94 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
95 popd
97 pushd %DTSX_SOURCE_PATH%\dtshd-c-decoder\misc\build\c66x\lib\Release
98 echo.
99 echo %cd%
100 echo gmake clean
101 gmake clean
102 echo.
103 echo %cd%
104 echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
105 gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
106 popd
108 pushd %DTSX_SOURCE_PATH%\alg\misc\build\c66x\Release
109 echo.
110 echo %cd%
111 echo gmake clean
112 gmake clean
113 echo.
114 echo %cd%
115 echo gmake PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
116 gmake PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
117 popd
120 set PASDK_ROOT_DIR_FS=
121 set C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS=
122 set DTSX_SOURCE_PATH=