Use already installed sed instead of cygwin sed for build. Update build instructions.
[processor-sdk/performance-audio-sr.git] / build_paf_libs.bat
1 rem
2 rem Assumes setup_env.bat has been called
3 rem
5 set PASDK_LROOT=pasdk
7 if "%1"=="ARM" goto arm_libs
9 rem
10 rem DSP libraries
11 rem
13 :dsp_libs
14 pushd %PASDK_LROOT%\paf\pa\build
15 sed -i -e "s/export ARCH   = a15/export ARCH   = c66x/g" target.mk
16 popd
18 pushd %PASDK_LROOT%\paf\pa\asp\com
19 gmake clean
20 gmake install
21 popd
23 pushd %PASDK_LROOT%\paf\pa\dec\pcm1
24 gmake clean
25 gmake install
26 popd
28 pushd %PASDK_LROOT%\paf\pa\dec\com
29 gmake clean
30 gmake install
31 popd
33 pushd %PASDK_LROOT%\paf\pa\asp\std
34 gmake clean
35 gmake install
36 popd
38 pushd %PASDK_LROOT%\paf\pa\sio\acp1
39 gmake clean
40 gmake install
41 popd
43 pushd %PASDK_LROOT%\paf\pa\enc\pce2
44 gmake clean
45 gmake install
46 popd
48 pushd %PASDK_LROOT%\paf\pa\sio\paf
49 gmake clean
50 gmake install
51 popd
53 pushd %PASDK_LROOT%\paf\pa\sio\dcs7
54 gmake clean
55 gmake install
56 popd
58 pushd %PASDK_LROOT%\paf\pa\asp\ae0
59 gmake clean
60 gmake install
61 popd
63 if "%1"=="DSP" goto end
66 rem
67 rem ARM libraries
68 rem
70 :arm_libs
71 pushd %PASDK_LROOT%\paf\pa\build
72 sed -i -e "s/export ARCH   = c66x/export ARCH   = a15/g" target.mk
73 popd
75 pushd %PASDK_LROOT%\paf\pa\asp\com
76 gmake clean
77 gmake install
78 popd
80 pushd %PASDK_LROOT%\paf\pa\dec\pcm1
81 gmake clean
82 gmake install
83 popd
85 pushd %PASDK_LROOT%\paf\pa\dec\com
86 gmake clean
87 gmake install
88 popd
90 pushd %PASDK_LROOT%\paf\pa\asp\std
91 gmake clean
92 gmake install
93 popd
95 pushd %PASDK_LROOT%\paf\pa\sio\acp1
96 gmake clean
97 gmake install
98 popd
100 pushd %PASDK_LROOT%\paf\pa\util\c67x_cintrins
101 gmake clean
102 gmake install
103 popd
105 pushd %PASDK_LROOT%\paf\pa\util\simulate_dma
106 gmake clean
107 gmake install
108 popd
111 :end
113 pushd %PASDK_LROOT%\paf\pa\build
114 sed -i -e "s/export ARCH   = a15/export ARCH   = c66x/g" target.mk
115 popd
117 set PASDK_LROOT=