summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles/libgles-omap3-no-x.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/libgles/libgles-omap3-no-x.inc')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-no-x.inc341
1 files changed, 0 insertions, 341 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc
deleted file mode 100644
index 7681a26b..00000000
--- a/recipes-graphics/libgles/libgles-omap3-no-x.inc
+++ /dev/null
@@ -1,341 +0,0 @@
1DESCRIPTION = "libGLES for the omap3"
2LICENSE = "proprietary-binary"
3# 'TSPA.txt' might not be the best file to md5sum
4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
5
6INC_PR = "r38"
7
8EXCLUDE_FROM_WORLD = "1"
9
10COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)"
11
12PVR_INIT ?= "pvrsrvinit"
13
14PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
15
16RREPLACES_${PN} = "libegl libgles1 libgles2"
17RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
18RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
19
20RPROVIDES_${PN} = "libegl libgles1 libgles2"
21RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
22RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
23
24RCONFLICTS_${PN} = "libegl libgles1 libgles2"
25RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
26RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
27
28SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
29 file://cputype \
30 file://rc.pvr \
31 file://99-bufferclass.rules \
32"
33
34S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
35
36# Logic to unpack installjammer file
37TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
38require ../../recipes-ti/includes/ti-eula-unpack.inc
39
40export BINLOCATION ?= "${S}/gfx_rel"
41export ES3LOCATION ?= "${S}/gfx_rel_es3.x"
42export ES5LOCATION ?= "${S}/gfx_rel_es5.x"
43export ES6LOCATION ?= "${S}/gfx_rel_es6.x"
44export ES8LOCATION ?= "${S}/gfx_rel_es8.x"
45export ES9LOCATION ?= "${S}/gfx_rel_es9.x"
46
47LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1"
48
49do_configure() {
50 # Attempt to fix up the worst offenders for file permissions
51 for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do
52 chmod 0644 $i
53 done
54
55 # Attempt to create proper library softlinks
56 for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do
57 if [ "$(readlink -n ${sofile})" = "" ] ; then
58 mv $sofile ${sofile}.${IMGPV}
59 ln -sf $(basename ${sofile}.${IMGPV}) ${sofile}
60 ln -sf $(basename ${sofile}.${IMGPV}) ${sofile}$(echo ${IMGPV} | awk -F. '{print "." $1}')
61 ln -sf $(basename ${sofile}.${IMGPV}) ${sofile}$(echo ${IMGPV} | awk -F. '{print "." $1 "." $2}')
62 fi
63 done
64
65 # Due to recursive make PLAT_* isn't always passed down correctly, so use sed to fix those
66 for mak in $(find ${S} -name "*.mak") ; do
67 sed -i -e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g $mak
68 done
69
70 # clear out old stuff
71 find Binaries/ | xargs rm -f || true
72}
73
74# Force in GNU_HASH and paths to libs
75TARGET_CC_ARCH += " ${TARGET_LINK_HASH_STYLE} -Wl,-rpath-link,${BINLOCATION} -L${BINLOCATION} \
76-L${STAGING_DIR_TARGET}${libdir} -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir}"
77PARALLEL_MAKE = ""
78
79PLATFORM ?= "LinuxOMAP3"
80
81do_compile() {
82 export TOOLCHAIN="${TOOLCHAIN_PATH}"
83 export PLAT_CC="${CC}"
84 export PLAT_CPP="${CXX}"
85 export PLAR_AR="${AR}"
86
87 mkdir -p ${S}/demos/raw
88 mkdir -p ${S}/trainingcourses/raw
89
90 # Rebuild demos
91 for demo in ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Demos/* ; do
92 cd $demo/OGLES/Build/LinuxGeneric
93 oe_runmake Common=1 PLATFORM=${PLATFORM} X11BUILD=0
94 rm $demo/OGLES/Build/${PLATFORM}/Release*/*.o
95
96 install -m 0755 $demo/OGLES/Build/${PLATFORM}/ReleaseRaw/* ${S}/demos/raw || true
97 done
98
99 for demo in ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Demos/* ; do
100 cd $demo/OGLES2/Build/LinuxGeneric
101 oe_runmake Common=1 PLATFORM=${PLATFORM} X11BUILD=0
102 rm -f $demo/OGLES2/Build/${PLATFORM}/Release*/*.o
103
104 install -m 0755 $demo/OGLES2/Build/${PLATFORM}/ReleaseRaw/* ${S}/demos/raw || true
105 done
106
107 find ${S} -name "*_org" -delete
108
109 # Build OGLES2 Trainingcourses
110 for training in ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/TrainingCourse/* ; do
111 if [ -e $training/OGLES2/Build/LinuxGeneric/Makefile ] ; then
112 cd $training/OGLES2/Build/LinuxGeneric
113 fi
114
115 if [ -e $training/OGLES2/Build/${PLATFORM}/Makefile ] ; then
116 cd $training/OGLES2/Build/${PLATFORM}
117 fi
118
119 oe_runmake Common=1 PLATFORM=${PLATFORM} X11BUILD=0
120 rm -f $training/OGLES2/Build/${PLATFORM}/Release*/*.o
121
122 install -m 0755 $training/OGLES2/Build/${PLATFORM}/ReleaseRaw/* ${S}/trainingcourses/raw || true
123 done
124
125}
126
127do_install () {
128 install -d ${D}${libdir}
129 cp -pPR ${BINLOCATION}/*.so* ${D}${libdir}
130 rm ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so*
131 rm ${D}${libdir}/libsrv_um_dri.so*
132 rm ${D}${libdir}/pvr_drv.so*
133
134 install -m 0644 ${BINLOCATION}/*.a ${D}${libdir}
135
136 install -d ${D}${bindir}/
137 install -m 0755 ${WORKDIR}/cputype ${D}${bindir}/
138
139 install -m 0755 ${BINLOCATION}/*_test ${D}${bindir}/
140 install -m 0755 ${BINLOCATION}/gl* ${D}${bindir}/
141 install -m 0755 ${BINLOCATION}/${PVR_INIT} ${D}${bindir}/
142
143 install -d ${D}${includedir}
144 cp -pPR ${S}/GFX_Linux_KM/include4 ${D}${includedir}/
145 cp -pPR ${S}/GFX_Linux_KM/services4 ${D}${includedir}/
146
147 cp -pPr ${S}/include/pvr2d/*.h ${D}${includedir}
148 cp -pPr ${S}/include/OGLES2/* ${D}${includedir}/
149 cp -pPr ${S}/include/wsegl/*.h ${D}${includedir}/
150
151 install -d ${D}${sysconfdir}/init.d/
152 cp -pP ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init
153 chmod +x ${D}${sysconfdir}/init.d/pvr-init
154
155 install -d ${D}${sysconfdir}
156 echo "[default]" > ${D}${sysconfdir}/powervr.ini
157 echo "WindowSystem=${LIBGLESWINDOWSYSTEM}" >> ${D}${sysconfdir}/powervr.ini
158
159 #Create different folders for ease of installing into different platforms with different display drivers/ SGX core
160
161 shared_prog="eglinfo pvr2d_test ${PVR_INIT} services_test sgx_blit_test sgx_clipblit_test sgx_flip_test sgx_init_test sgx_render_flip_test"
162 raw_prog="gles1test1 gles2test1"
163
164 for esrev in 3 5 6 8 9 ; do
165 ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\}))
166 if [ -e ${ESLOCATION} ] ; then
167 install -d ${D}${libdir}/ES${esrev}.0
168 install -d ${D}${bindir}/ES${esrev}.0
169 cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/
170 for esprog in $shared_prog $raw_prog ; do
171 install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ 2>/dev/null || true
172 done
173 fi
174 done
175
176 rm ${D}${bindir}/ES*/*.h ${D}${bindir}/ES*/pdsasm ${D}${bindir}/pdsasm -f || true
177
178 install -d ${D}${bindir}/SGX/demos/Raw/
179 install -m 0755 ${S}/demos/raw/* ${D}${bindir}/SGX/demos/Raw/
180 install -d ${D}${bindir}/SGX/trainingcourses/Raw 2>/dev/null || true
181 install -m 0755 ${S}/trainingcourses/raw/* ${D}${bindir}/SGX/trainingcourses/Raw/ 2>/dev/null || true
182
183
184 # Delete objects and linker scripts hidden between the headers
185 find ${D} -name "*.o" -delete
186 find ${D} -name "*.o.cmd" -delete
187
188 install -d ${D}${sysconfdir}/udev/rules.d
189 install -m 0644 ${WORKDIR}/99-bufferclass.rules ${D}${sysconfdir}/udev/rules.d/
190
191 touch ${D}${libdir}/ES5.0/ld-linux.so.3
192 touch ${D}${libdir}/ES5.0/ld-linux.so.3\(GLIBC_2.4\)
193 cp -pPR ${S}/gfx_rel_es5.x/libews.so ${D}${libdir}/ES5.0/
194}
195
196PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests"
197# Package the base libraries per silicon revision
198PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
199RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
200FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*"
201FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*"
202FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*"
203FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*"
204FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*"
205
206# Stop shlib code from picking a subpackage
207PRIVATE_LIBS_${PN}-es3 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libglslcompiler.so libGLES_CM.so"
208PRIVATE_LIBS_${PN}-es5 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libglslcompiler.so libGLES_CM.so"
209PRIVATE_LIBS_${PN}-es6 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libglslcompiler.so libGLES_CM.so"
210PRIVATE_LIBS_${PN}-es8 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libglslcompiler.so libGLES_CM.so"
211PRIVATE_LIBS_${PN}-es9 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libglslcompiler.so libGLES_CM.so"
212
213
214RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLES_CM.so libpvr2d.so libIMGegl.so libsrv_init.so libsrv_um.so libsrv_um_dri.so libglslcompiler.so"
215RPROVIDES_${PN}-es5 += "ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libews.so"
216
217PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl"
218FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*"
219FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*"
220FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*"
221FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*"
222
223PACKAGES =+ "${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-blitwsegl-es9 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-flipwsegl-es9 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-frontwsegl-es9 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-linuxfbwsegl-es9"
224
225FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*"
226FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*"
227FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*"
228FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*"
229FILES_${PN}-blitwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_BLITWSEGL.so.*"
230RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-blitwsegl-es9"
231
232FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*"
233FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*"
234FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*"
235FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*"
236FILES_${PN}-flipwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FLIPWSEGL.so.*"
237RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-flipwsegl-es9"
238
239FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*"
240FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*"
241FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*"
242FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*"
243FILES_${PN}-frontwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FRONTWSEGL.so.*"
244RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-frontwsegl-es9"
245
246FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*"
247FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*"
248FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*"
249FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*"
250FILES_${PN}-linuxfbwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_LINUXFBWSEGL.so.*"
251RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-linuxfbwsegl-es9"
252
253CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
254
255FILES_${PN} = "${sysconfdir} ${libdir}/*.so* ${bindir}/${PVR_INIT} ${bindir}/cputype ${bindir}/*"
256
257FILES_${PN}-tests = "${bindir}/*test*"
258FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \
259 ${libdir}/ES*/.debug ${bindir}/*/.debug\
260 ${bindir}/SGX/demos/*/.debug/* \
261 ${bindir}/SGX/trainingcourses/*/.debug/* \
262"
263
264FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*"
265
266FILES_${PN}-rawtrainingcourses = "${bindir}/SGX/trainingcourses/Raw/*"
267
268# The libs need the kernel-modules
269RRECOMMENDS_${PN} += "omap3-sgx-modules"
270
271# The initscript calls fbset, cputype calls devmem2
272RDEPENDS_${PN} += "fbset devmem2"
273
274#HACK! These are binaries, so we can't guarantee that LDFLAGS match :(
275INSANE_SKIP_${PN} = "ldflags dev-so already-stripped"
276INSANE_SKIP_${PN}-es3 = "ldflags dev-so staticdev already-stripped"
277INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev already-stripped"
278INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev already-stripped"
279INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev already-stripped"
280INSANE_SKIP_${PN}-es9 = "ldflags dev-so staticdev already-stripped"
281INSANE_SKIP_${PN}-rawdemos = "ldflags dev-so useless-rpaths already-stripped"
282INSANE_SKIP_${PN}-blitwsegl = "ldflags already-stripped"
283INSANE_SKIP_${PN}-blitwsegl-es3 = "ldflags already-stripped"
284INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags already-stripped"
285INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags already-stripped"
286INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags already-stripped"
287INSANE_SKIP_${PN}-blitwsegl-es9 = "ldflags already-stripped"
288INSANE_SKIP_${PN}-flipwsegl = "ldflags already-stripped"
289INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags already-stripped"
290INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags already-stripped"
291INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags already-stripped"
292INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags already-stripped"
293INSANE_SKIP_${PN}-flipwsegl-es9 = "ldflags already-stripped"
294INSANE_SKIP_${PN}-frontwsegl = "ldflags already-stripped"
295INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags already-stripped"
296INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags already-stripped"
297INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags already-stripped"
298INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags already-stripped"
299INSANE_SKIP_${PN}-frontwsegl-es9 = "ldflags already-stripped"
300INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags already-stripped"
301INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags already-stripped"
302INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags already-stripped"
303INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags already-stripped"
304INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags already-stripped"
305INSANE_SKIP_${PN}-linuxfbwsegl-es9 = "ldflags already-stripped"
306INSANE_SKIP_${PN}-tests = "ldflags already-stripped"
307
308# Quality control is really poor on these SDKs, so hack around the latest madness:
309FILES_${PN} += "${libdir}/*.so "
310FILES_${PN}-dev = "${includedir}"
311
312inherit update-rc.d
313
314INITSCRIPT_NAME = "pvr-init"
315INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
316
317# Append to update-rc.d postinst
318pkg_postinst_${PN}_append() {
319rm -f $D${sysconfdir}/powervr-esrev
320
321}
322
323pkg_postinst_${PN}-blitwsegl() {
324rm -f $D${sysconfdir}/powervr-esrev
325}
326
327pkg_postinst_${PN}-flipwsegl() {
328rm -f $D${sysconfdir}/powervr-esrev
329}
330
331pkg_postinst_${PN}-frontwsegl() {
332rm -f $D${sysconfdir}/powervr-esrev
333}
334pkg_postinst_${PN}-linuxfbwsegl() {
335rm -f $D${sysconfdir}/powervr-esrev
336}
337
338pkg_postinst_${PN}-es5() {
339rm -f $D${libdir}/ES5.0/ld-linux.so.3*
340rm -f $D${libdir}/ES5.0/libews.so
341}