diff options
Diffstat (limited to 'recipes-graphics/libgles/libgles-omap3-no-x.inc')
-rw-r--r-- | recipes-graphics/libgles/libgles-omap3-no-x.inc | 341 |
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 @@ | |||
1 | DESCRIPTION = "libGLES for the omap3" | ||
2 | LICENSE = "proprietary-binary" | ||
3 | # 'TSPA.txt' might not be the best file to md5sum | ||
4 | LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" | ||
5 | |||
6 | INC_PR = "r38" | ||
7 | |||
8 | EXCLUDE_FROM_WORLD = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)" | ||
11 | |||
12 | PVR_INIT ?= "pvrsrvinit" | ||
13 | |||
14 | PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" | ||
15 | |||
16 | RREPLACES_${PN} = "libegl libgles1 libgles2" | ||
17 | RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" | ||
18 | RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
19 | |||
20 | RPROVIDES_${PN} = "libegl libgles1 libgles2" | ||
21 | RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" | ||
22 | RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
23 | |||
24 | RCONFLICTS_${PN} = "libegl libgles1 libgles2" | ||
25 | RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" | ||
26 | RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" | ||
27 | |||
28 | SRC_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 | |||
34 | S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}" | ||
35 | |||
36 | # Logic to unpack installjammer file | ||
37 | TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" | ||
38 | require ../../recipes-ti/includes/ti-eula-unpack.inc | ||
39 | |||
40 | export BINLOCATION ?= "${S}/gfx_rel" | ||
41 | export ES3LOCATION ?= "${S}/gfx_rel_es3.x" | ||
42 | export ES5LOCATION ?= "${S}/gfx_rel_es5.x" | ||
43 | export ES6LOCATION ?= "${S}/gfx_rel_es6.x" | ||
44 | export ES8LOCATION ?= "${S}/gfx_rel_es8.x" | ||
45 | export ES9LOCATION ?= "${S}/gfx_rel_es9.x" | ||
46 | |||
47 | LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1" | ||
48 | |||
49 | do_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 | ||
75 | TARGET_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}" | ||
77 | PARALLEL_MAKE = "" | ||
78 | |||
79 | PLATFORM ?= "LinuxOMAP3" | ||
80 | |||
81 | do_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 | |||
127 | do_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 | |||
196 | PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests" | ||
197 | # Package the base libraries per silicon revision | ||
198 | PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" | ||
199 | RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" | ||
200 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" | ||
201 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" | ||
202 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" | ||
203 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" | ||
204 | FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*" | ||
205 | |||
206 | # Stop shlib code from picking a subpackage | ||
207 | PRIVATE_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" | ||
208 | PRIVATE_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" | ||
209 | PRIVATE_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" | ||
210 | PRIVATE_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" | ||
211 | PRIVATE_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 | |||
214 | RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLES_CM.so libpvr2d.so libIMGegl.so libsrv_init.so libsrv_um.so libsrv_um_dri.so libglslcompiler.so" | ||
215 | RPROVIDES_${PN}-es5 += "ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libews.so" | ||
216 | |||
217 | PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl" | ||
218 | FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*" | ||
219 | FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*" | ||
220 | FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*" | ||
221 | FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
222 | |||
223 | PACKAGES =+ "${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 | |||
225 | FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*" | ||
226 | FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*" | ||
227 | FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*" | ||
228 | FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*" | ||
229 | FILES_${PN}-blitwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_BLITWSEGL.so.*" | ||
230 | RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-blitwsegl-es9" | ||
231 | |||
232 | FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
233 | FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
234 | FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
235 | FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
236 | FILES_${PN}-flipwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
237 | RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-flipwsegl-es9" | ||
238 | |||
239 | FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
240 | FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
241 | FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
242 | FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
243 | FILES_${PN}-frontwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
244 | RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-frontwsegl-es9" | ||
245 | |||
246 | FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
247 | FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
248 | FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
249 | FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
250 | FILES_${PN}-linuxfbwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
251 | RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-linuxfbwsegl-es9" | ||
252 | |||
253 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" | ||
254 | |||
255 | FILES_${PN} = "${sysconfdir} ${libdir}/*.so* ${bindir}/${PVR_INIT} ${bindir}/cputype ${bindir}/*" | ||
256 | |||
257 | FILES_${PN}-tests = "${bindir}/*test*" | ||
258 | FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \ | ||
259 | ${libdir}/ES*/.debug ${bindir}/*/.debug\ | ||
260 | ${bindir}/SGX/demos/*/.debug/* \ | ||
261 | ${bindir}/SGX/trainingcourses/*/.debug/* \ | ||
262 | " | ||
263 | |||
264 | FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*" | ||
265 | |||
266 | FILES_${PN}-rawtrainingcourses = "${bindir}/SGX/trainingcourses/Raw/*" | ||
267 | |||
268 | # The libs need the kernel-modules | ||
269 | RRECOMMENDS_${PN} += "omap3-sgx-modules" | ||
270 | |||
271 | # The initscript calls fbset, cputype calls devmem2 | ||
272 | RDEPENDS_${PN} += "fbset devmem2" | ||
273 | |||
274 | #HACK! These are binaries, so we can't guarantee that LDFLAGS match :( | ||
275 | INSANE_SKIP_${PN} = "ldflags dev-so already-stripped" | ||
276 | INSANE_SKIP_${PN}-es3 = "ldflags dev-so staticdev already-stripped" | ||
277 | INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev already-stripped" | ||
278 | INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev already-stripped" | ||
279 | INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev already-stripped" | ||
280 | INSANE_SKIP_${PN}-es9 = "ldflags dev-so staticdev already-stripped" | ||
281 | INSANE_SKIP_${PN}-rawdemos = "ldflags dev-so useless-rpaths already-stripped" | ||
282 | INSANE_SKIP_${PN}-blitwsegl = "ldflags already-stripped" | ||
283 | INSANE_SKIP_${PN}-blitwsegl-es3 = "ldflags already-stripped" | ||
284 | INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags already-stripped" | ||
285 | INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags already-stripped" | ||
286 | INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags already-stripped" | ||
287 | INSANE_SKIP_${PN}-blitwsegl-es9 = "ldflags already-stripped" | ||
288 | INSANE_SKIP_${PN}-flipwsegl = "ldflags already-stripped" | ||
289 | INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags already-stripped" | ||
290 | INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags already-stripped" | ||
291 | INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags already-stripped" | ||
292 | INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags already-stripped" | ||
293 | INSANE_SKIP_${PN}-flipwsegl-es9 = "ldflags already-stripped" | ||
294 | INSANE_SKIP_${PN}-frontwsegl = "ldflags already-stripped" | ||
295 | INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags already-stripped" | ||
296 | INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags already-stripped" | ||
297 | INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags already-stripped" | ||
298 | INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags already-stripped" | ||
299 | INSANE_SKIP_${PN}-frontwsegl-es9 = "ldflags already-stripped" | ||
300 | INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags already-stripped" | ||
301 | INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags already-stripped" | ||
302 | INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags already-stripped" | ||
303 | INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags already-stripped" | ||
304 | INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags already-stripped" | ||
305 | INSANE_SKIP_${PN}-linuxfbwsegl-es9 = "ldflags already-stripped" | ||
306 | INSANE_SKIP_${PN}-tests = "ldflags already-stripped" | ||
307 | |||
308 | # Quality control is really poor on these SDKs, so hack around the latest madness: | ||
309 | FILES_${PN} += "${libdir}/*.so " | ||
310 | FILES_${PN}-dev = "${includedir}" | ||
311 | |||
312 | inherit update-rc.d | ||
313 | |||
314 | INITSCRIPT_NAME = "pvr-init" | ||
315 | INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ." | ||
316 | |||
317 | # Append to update-rc.d postinst | ||
318 | pkg_postinst_${PN}_append() { | ||
319 | rm -f $D${sysconfdir}/powervr-esrev | ||
320 | |||
321 | } | ||
322 | |||
323 | pkg_postinst_${PN}-blitwsegl() { | ||
324 | rm -f $D${sysconfdir}/powervr-esrev | ||
325 | } | ||
326 | |||
327 | pkg_postinst_${PN}-flipwsegl() { | ||
328 | rm -f $D${sysconfdir}/powervr-esrev | ||
329 | } | ||
330 | |||
331 | pkg_postinst_${PN}-frontwsegl() { | ||
332 | rm -f $D${sysconfdir}/powervr-esrev | ||
333 | } | ||
334 | pkg_postinst_${PN}-linuxfbwsegl() { | ||
335 | rm -f $D${sysconfdir}/powervr-esrev | ||
336 | } | ||
337 | |||
338 | pkg_postinst_${PN}-es5() { | ||
339 | rm -f $D${libdir}/ES5.0/ld-linux.so.3* | ||
340 | rm -f $D${libdir}/ES5.0/libews.so | ||
341 | } | ||