diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-02 14:24:25 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-26 10:01:47 +0100 |
commit | 98ea84b1f847b49ad0df6d125ea90247cfb3500c (patch) | |
tree | 7352c37f3e8271730ec48ddf67333aacbc9f25a1 /recipes-graphics/libgles | |
parent | 7049f8e77cffcf4d6e0f81dc69aa9b7b2c56de1a (diff) | |
download | meta-ti-98ea84b1f847b49ad0df6d125ea90247cfb3500c.tar.gz |
libgles-omap3: split support for ES revisions into subpackages where possible
This allows deinstalling ES revisions which aren't wanted on your target.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-graphics/libgles')
-rw-r--r-- | recipes-graphics/libgles/libgles-omap3.inc | 59 |
1 files changed, 52 insertions, 7 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc index 4459befb..dc0185a1 100644 --- a/recipes-graphics/libgles/libgles-omap3.inc +++ b/recipes-graphics/libgles/libgles-omap3.inc | |||
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" | |||
3 | # 'TSPA.txt' might not be the best file to md5sum | 3 | # 'TSPA.txt' might not be the best file to md5sum |
4 | LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" | 4 | LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" |
5 | 5 | ||
6 | PR = "r17" | 6 | PR = "r18" |
7 | 7 | ||
8 | COMPATIBLE_MACHINE = "(omap3|ti816x)" | 8 | COMPATIBLE_MACHINE = "(omap3|ti816x)" |
9 | 9 | ||
@@ -219,19 +219,64 @@ PACKAGES =+ "${PN}-rawdemos \ | |||
219 | PACKAGES += "xserver-kdrive-powervrsgx \ | 219 | PACKAGES += "xserver-kdrive-powervrsgx \ |
220 | ${PN}-tests " | 220 | ${PN}-tests " |
221 | 221 | ||
222 | PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl ${PN}-x11wsegl" | 222 | # Package the base libraries per silicon revision |
223 | PACKAGES =+ "${PN}-es2 ${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | ||
224 | RRECOMMENDS_${PN} += "${PN}-es2 ${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | ||
225 | FILES_${PN}-es2 = "${libdir}/ES2*/* ${bindir}/ES2*/*" | ||
226 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" | ||
227 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" | ||
228 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" | ||
229 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" | ||
223 | 230 | ||
224 | FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.* ${libdir}/*/libpvrPVR2D_BLITWSEGL.so.*" | 231 | PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl ${PN}-x11wsegl" |
225 | FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.* ${libdir}/*/libpvrPVR2D_FLIPWSEGL.so.*" | 232 | FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*" |
226 | FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.* ${libdir}/*/libpvrPVR2D_FRONTWSEGL.so.*" | 233 | FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*" |
227 | FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.* ${libdir}/*/libpvrPVR2D_LINUXFBWSEGL.so.*" | 234 | FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*" |
228 | FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${libdir}/*/libpvrPVR2D_X11WSEGL.so*" | 235 | FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*" |
236 | FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so*" | ||
237 | |||
238 | PACKAGES =+ "${PN}-blitwsegl-es2 ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-flipwsegl-es2 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-frontwsegl-es2 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-linuxfbwsegl-es2 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8" | ||
239 | FILES_${PN}-blitwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_BLITWSEGL.so.*" | ||
240 | FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*" | ||
241 | FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*" | ||
242 | FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*" | ||
243 | FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*" | ||
244 | RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es2 ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8" | ||
245 | |||
246 | FILES_${PN}-flipwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
247 | FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
248 | FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
249 | FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
250 | FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*" | ||
251 | RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es2 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8" | ||
252 | |||
253 | FILES_${PN}-frontwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
254 | FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
255 | FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
256 | FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
257 | FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*" | ||
258 | RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es2 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8" | ||
259 | |||
260 | FILES_${PN}-linuxfbwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
261 | FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
262 | FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
263 | FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
264 | FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*" | ||
265 | RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es2 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8" | ||
266 | |||
267 | FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.*" | ||
268 | FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.*" | ||
269 | FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.*" | ||
270 | FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.*" | ||
271 | FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.*" | ||
272 | RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8" | ||
229 | 273 | ||
230 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" | 274 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" |
231 | # 'cputype' uses /etc/init.d/functions | 275 | # 'cputype' uses /etc/init.d/functions |
232 | RRECOMMENDS_${PN} += "initscripts" | 276 | RRECOMMENDS_${PN} += "initscripts" |
233 | 277 | ||
234 | FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*" | 278 | FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*" |
279 | |||
235 | FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx" | 280 | FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx" |
236 | FILES_${PN}-tests = "${bindir}/*" | 281 | FILES_${PN}-tests = "${bindir}/*" |
237 | FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \ | 282 | FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \ |