03755a503a69db29594543e034fa309315baabea
[processor-sdk/performance-audio-sr.git] / build_paf_libs.bat
1 rem Assumes setup_env.bat has been called
2 rem Assumes desired target (c66x,a15) has been selected in pa/build/target.mk
4 if "%1"=="" goto end
6 set PASDK_LROOT=pasdk
8 rem
9 rem ARM libraries
10 rem DSP libraries needed PCM1 (+other?)
11 rem
12 pushd %PASDK_LROOT%\paf\pa\asp\com
13 gmake clean
14 gmake install
15 popd
17 pushd %PASDK_LROOT%\paf\pa\dec\pcm1
18 gmake clean
19 gmake install
20 popd
22 pushd %PASDK_LROOT%\paf\pa\dec\com
23 gmake clean
24 gmake install
25 popd
27 pushd %PASDK_LROOT%\paf\pa\asp\std
28 gmake clean
29 gmake install
30 popd
32 pushd %PASDK_LROOT%\paf\pa\sio\acp1
33 gmake clean
34 gmake install
35 popd
37 if "%1"=="ARM" goto arm_only
38 :dsp_only
39 rem
40 rem DSP only libraries
41 rem
42 pushd %PASDK_LROOT%\paf\pa\enc\pce2
43 gmake clean
44 gmake install
45 popd
47 pushd %PASDK_LROOT%\paf\pa\sio\paf
48 gmake clean
49 gmake install
50 popd
52 pushd %PASDK_LROOT%\paf\pa\sio\dcs7
53 gmake clean
54 gmake install
55 popd
57 pushd %PASDK_LROOT%\paf\pa\asp\ae0
58 gmake clean
59 gmake install
60 popd
62 goto end
64 :arm_only
65 pushd %PASDK_LROOT%\paf\pa\util\c67x_cintrins
66 gmake clean
67 gmake install
68 popd
70 pushd %PASDK_LROOT%\paf\pa\util\simulate_dma
71 gmake clean
72 gmake install
73 popd
75 set PASDK_LROOT=
77 :end