diff options
author | Franklin S. Cooper Jr <fcooper@ti.com> | 2013-11-19 10:59:08 -0600 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2013-11-21 21:51:39 -0500 |
commit | 767fd6ec4075eddb4c3d8c4c653f1ac77b4464e1 (patch) | |
tree | 551c62bcec2b7c15a6a4ff01d37057015a1b45bb /recipes-graphics | |
parent | a22618208949997cf4b6082c83ad49ab2e570d9c (diff) | |
download | meta-ti-767fd6ec4075eddb4c3d8c4c653f1ac77b4464e1.tar.gz |
libgles-omap3: Add support for AM43x in common libgles-omap3 include files
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/libgles/libgles-omap3-no-x.inc | 34 | ||||
-rw-r--r-- | recipes-graphics/libgles/libgles-omap3-x11.inc | 26 |
2 files changed, 42 insertions, 18 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc index 83873d76..3df0fdce 100644 --- a/recipes-graphics/libgles/libgles-omap3-no-x.inc +++ b/recipes-graphics/libgles/libgles-omap3-no-x.inc | |||
@@ -3,11 +3,11 @@ 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 | INC_PR = "r37" | 6 | INC_PR = "r38" |
7 | 7 | ||
8 | EXCLUDE_FROM_WORLD = "1" | 8 | EXCLUDE_FROM_WORLD = "1" |
9 | 9 | ||
10 | COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" | 10 | COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)" |
11 | 11 | ||
12 | PVR_INIT ?= "pvrsrvinit" | 12 | PVR_INIT ?= "pvrsrvinit" |
13 | 13 | ||
@@ -42,6 +42,7 @@ export ES3LOCATION ?= "${S}/gfx_rel_es3.x" | |||
42 | export ES5LOCATION ?= "${S}/gfx_rel_es5.x" | 42 | export ES5LOCATION ?= "${S}/gfx_rel_es5.x" |
43 | export ES6LOCATION ?= "${S}/gfx_rel_es6.x" | 43 | export ES6LOCATION ?= "${S}/gfx_rel_es6.x" |
44 | export ES8LOCATION ?= "${S}/gfx_rel_es8.x" | 44 | export ES8LOCATION ?= "${S}/gfx_rel_es8.x" |
45 | export ES9LOCATION ?= "${S}/gfx_rel_es9.x" | ||
45 | 46 | ||
46 | LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1" | 47 | LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1" |
47 | 48 | ||
@@ -157,11 +158,13 @@ do_install () { | |||
157 | 158 | ||
158 | #Create different folders for ease of installing into different platforms with different display drivers/ SGX core | 159 | #Create different folders for ease of installing into different platforms with different display drivers/ SGX core |
159 | 160 | ||
161 | install -d ${D}${libdir}/ES9.0 | ||
160 | install -d ${D}${libdir}/ES8.0 | 162 | install -d ${D}${libdir}/ES8.0 |
161 | install -d ${D}${libdir}/ES6.0 | 163 | install -d ${D}${libdir}/ES6.0 |
162 | install -d ${D}${libdir}/ES5.0 | 164 | install -d ${D}${libdir}/ES5.0 |
163 | install -d ${D}${libdir}/ES3.0 | 165 | install -d ${D}${libdir}/ES3.0 |
164 | 166 | ||
167 | install -d ${D}${bindir}/ES9.0 | ||
165 | install -d ${D}${bindir}/ES8.0 | 168 | install -d ${D}${bindir}/ES8.0 |
166 | install -d ${D}${bindir}/ES6.0 | 169 | install -d ${D}${bindir}/ES6.0 |
167 | install -d ${D}${bindir}/ES5.0 | 170 | install -d ${D}${bindir}/ES5.0 |
@@ -170,7 +173,7 @@ do_install () { | |||
170 | 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" | 173 | 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" |
171 | raw_prog="gles1test1 gles2test1" | 174 | raw_prog="gles1test1 gles2test1" |
172 | 175 | ||
173 | for esrev in 3 5 6 8 ; do | 176 | for esrev in 3 5 6 8 9 ; do |
174 | ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\})) | 177 | ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\})) |
175 | if [ -e ${ESLOCATION} ] ; then | 178 | if [ -e ${ESLOCATION} ] ; then |
176 | cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/ | 179 | cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/ |
@@ -199,18 +202,21 @@ do_install () { | |||
199 | 202 | ||
200 | PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests" | 203 | PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests" |
201 | # Package the base libraries per silicon revision | 204 | # Package the base libraries per silicon revision |
202 | PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | 205 | PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" |
203 | RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | 206 | RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" |
204 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" | 207 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" |
205 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" | 208 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" |
206 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" | 209 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" |
207 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" | 210 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" |
211 | FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*" | ||
208 | 212 | ||
209 | # Stop shlib code from picking a subpackage | 213 | # Stop shlib code from picking a subpackage |
210 | 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" | 214 | 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" |
211 | 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" | 215 | 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" |
212 | 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" | 216 | 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" |
213 | 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" | 217 | 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" |
218 | 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" | ||
219 | |||
214 | 220 | ||
215 | 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" | 221 | 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" |
216 | 222 | ||
@@ -220,31 +226,35 @@ FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*" | |||
220 | FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*" | 226 | FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*" |
221 | FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*" | 227 | FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*" |
222 | 228 | ||
223 | PACKAGES =+ "${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8" | 229 | 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 | 230 | ||
225 | FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*" | 231 | FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*" |
226 | FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*" | 232 | FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*" |
227 | FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*" | 233 | FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*" |
228 | FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*" | 234 | FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*" |
229 | RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8" | 235 | FILES_${PN}-blitwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_BLITWSEGL.so.*" |
236 | RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-blitwsegl-es9" | ||
230 | 237 | ||
231 | FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*" | 238 | FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*" |
232 | FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*" | 239 | FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*" |
233 | FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*" | 240 | FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*" |
234 | FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*" | 241 | FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*" |
235 | RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8" | 242 | FILES_${PN}-flipwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FLIPWSEGL.so.*" |
243 | RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-flipwsegl-es9" | ||
236 | 244 | ||
237 | FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*" | 245 | FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*" |
238 | FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*" | 246 | FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*" |
239 | FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*" | 247 | FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*" |
240 | FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*" | 248 | FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*" |
241 | RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8" | 249 | FILES_${PN}-frontwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FRONTWSEGL.so.*" |
250 | RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-frontwsegl-es9" | ||
242 | 251 | ||
243 | FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*" | 252 | FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*" |
244 | FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*" | 253 | FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*" |
245 | FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*" | 254 | FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*" |
246 | FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*" | 255 | FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*" |
247 | RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8" | 256 | FILES_${PN}-linuxfbwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_LINUXFBWSEGL.so.*" |
257 | RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-linuxfbwsegl-es9" | ||
248 | 258 | ||
249 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" | 259 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" |
250 | 260 | ||
@@ -279,21 +289,25 @@ INSANE_SKIP_${PN}-blitwsegl-es3 = "ldflags" | |||
279 | INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags" | 289 | INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags" |
280 | INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags" | 290 | INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags" |
281 | INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags" | 291 | INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags" |
292 | INSANE_SKIP_${PN}-blitwsegl-es9 = "ldflags" | ||
282 | INSANE_SKIP_${PN}-flipwsegl = "ldflags" | 293 | INSANE_SKIP_${PN}-flipwsegl = "ldflags" |
283 | INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags" | 294 | INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags" |
284 | INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags" | 295 | INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags" |
285 | INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags" | 296 | INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags" |
286 | INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags" | 297 | INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags" |
298 | INSANE_SKIP_${PN}-flipwsegl-es9 = "ldflags" | ||
287 | INSANE_SKIP_${PN}-frontwsegl = "ldflags" | 299 | INSANE_SKIP_${PN}-frontwsegl = "ldflags" |
288 | INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags" | 300 | INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags" |
289 | INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags" | 301 | INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags" |
290 | INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags" | 302 | INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags" |
291 | INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags" | 303 | INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags" |
304 | INSANE_SKIP_${PN}-frontwsegl-es9 = "ldflags" | ||
292 | INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags" | 305 | INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags" |
293 | INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags" | 306 | INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags" |
294 | INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags" | 307 | INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags" |
295 | INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags" | 308 | INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags" |
296 | INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags" | 309 | INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags" |
310 | INSANE_SKIP_${PN}-linuxfbwsegl-es9 = "ldflags" | ||
297 | INSANE_SKIP_${PN}-tests = "ldflags" | 311 | INSANE_SKIP_${PN}-tests = "ldflags" |
298 | 312 | ||
299 | # Quality control is really poor on these SDKs, so hack around the latest madness: | 313 | # Quality control is really poor on these SDKs, so hack around the latest madness: |
diff --git a/recipes-graphics/libgles/libgles-omap3-x11.inc b/recipes-graphics/libgles/libgles-omap3-x11.inc index 106a9bc5..76ef5b35 100644 --- a/recipes-graphics/libgles/libgles-omap3-x11.inc +++ b/recipes-graphics/libgles/libgles-omap3-x11.inc | |||
@@ -3,11 +3,11 @@ 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 | INC_PR = "r37" | 6 | INC_PR = "r38" |
7 | 7 | ||
8 | EXCLUDE_FROM_WORLD = "1" | 8 | EXCLUDE_FROM_WORLD = "1" |
9 | 9 | ||
10 | COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" | 10 | COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)" |
11 | 11 | ||
12 | DEPENDS = "virtual/libx11 libxau libxdmcp libdrm" | 12 | DEPENDS = "virtual/libx11 libxau libxdmcp libdrm" |
13 | 13 | ||
@@ -46,6 +46,7 @@ export ES3LOCATION ?= "${S}/gfx_rel_es3.x" | |||
46 | export ES5LOCATION ?= "${S}/gfx_rel_es5.x" | 46 | export ES5LOCATION ?= "${S}/gfx_rel_es5.x" |
47 | export ES6LOCATION ?= "${S}/gfx_rel_es6.x" | 47 | export ES6LOCATION ?= "${S}/gfx_rel_es6.x" |
48 | export ES8LOCATION ?= "${S}/gfx_rel_es8.x" | 48 | export ES8LOCATION ?= "${S}/gfx_rel_es8.x" |
49 | export ES9LOCATION ?= "${S}/gfx_rel_es9.x" | ||
49 | 50 | ||
50 | LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_DRIWSEGL.so" | 51 | LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_DRIWSEGL.so" |
51 | 52 | ||
@@ -174,11 +175,13 @@ do_install () { | |||
174 | 175 | ||
175 | # The ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace | 176 | # The ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace |
176 | 177 | ||
178 | install -d ${D}${libdir}/ES9.0 | ||
177 | install -d ${D}${libdir}/ES8.0 | 179 | install -d ${D}${libdir}/ES8.0 |
178 | install -d ${D}${libdir}/ES6.0 | 180 | install -d ${D}${libdir}/ES6.0 |
179 | install -d ${D}${libdir}/ES5.0 | 181 | install -d ${D}${libdir}/ES5.0 |
180 | install -d ${D}${libdir}/ES3.0 | 182 | install -d ${D}${libdir}/ES3.0 |
181 | 183 | ||
184 | install -d ${D}${bindir}/ES9.0 | ||
182 | install -d ${D}${bindir}/ES8.0 | 185 | install -d ${D}${bindir}/ES8.0 |
183 | install -d ${D}${bindir}/ES6.0 | 186 | install -d ${D}${bindir}/ES6.0 |
184 | install -d ${D}${bindir}/ES5.0 | 187 | install -d ${D}${bindir}/ES5.0 |
@@ -186,7 +189,7 @@ do_install () { | |||
186 | 189 | ||
187 | x11_prog="eglinfo_x xgles1test1 xgles2test1 xmultiegltest" | 190 | x11_prog="eglinfo_x xgles1test1 xgles2test1 xmultiegltest" |
188 | 191 | ||
189 | for esrev in 3 5 6 8 ; do | 192 | for esrev in 3 5 6 8 9; do |
190 | ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\})) | 193 | ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\})) |
191 | if [ -e ${ESLOCATION} ] ; then | 194 | if [ -e ${ESLOCATION} ] ; then |
192 | cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/ | 195 | cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/ |
@@ -219,38 +222,42 @@ do_install () { | |||
219 | PACKAGES =+ "${PN}-x11demos ${PN}-x11trainingcourses xserver-kdrive-powervrsgx" | 222 | PACKAGES =+ "${PN}-x11demos ${PN}-x11trainingcourses xserver-kdrive-powervrsgx" |
220 | 223 | ||
221 | # Package the base libraries per silicon revision | 224 | # Package the base libraries per silicon revision |
222 | PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | 225 | PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" |
223 | RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" | 226 | RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9" |
224 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" | 227 | FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" |
225 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" | 228 | FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" |
226 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" | 229 | FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" |
227 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" | 230 | FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" |
231 | FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*" | ||
228 | 232 | ||
229 | # Stop shlib code from picking a subpackage | 233 | # Stop shlib code from picking a subpackage |
230 | PRIVATE_LIBS_${PN}-es3 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" | 234 | PRIVATE_LIBS_${PN}-es3 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" |
231 | PRIVATE_LIBS_${PN}-es5 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" | 235 | PRIVATE_LIBS_${PN}-es5 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" |
232 | PRIVATE_LIBS_${PN}-es6 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" | 236 | PRIVATE_LIBS_${PN}-es6 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" |
233 | PRIVATE_LIBS_${PN}-es8 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" | 237 | PRIVATE_LIBS_${PN}-es8 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" |
238 | PRIVATE_LIBS_${PN}-es9 = "libGLESv2.so libIMGegl.so libsrv_um.so libOpenVG.so libpvr2d.so libsrv_init.so libEGL.so libsrv_um_dri.so libOpenVGU.so libglslcompiler.so libGLES_CM.so" | ||
234 | 239 | ||
235 | PACKAGES =+ "${PN}-x11wsegl ${PN}-driwsegl" | 240 | PACKAGES =+ "${PN}-x11wsegl ${PN}-driwsegl" |
236 | FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${bindir}/x* ${bindir}/*x" | 241 | FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${bindir}/x* ${bindir}/*x" |
237 | FILES_${PN}-driwsegl = "${libdir}/libpvrPVR2D_DRIWSEGL.so* ${libdir}/libsrv_um_dri*" | 242 | FILES_${PN}-driwsegl = "${libdir}/libpvrPVR2D_DRIWSEGL.so* ${libdir}/libsrv_um_dri*" |
238 | 243 | ||
239 | X11_SEGL = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8 ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8 " | 244 | X11_SEGL = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8 ${PN}-x11wsegl-es9 ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8 ${PN}-driwsegl-es9" |
240 | PACKAGES =+ "${X11_SEGL}" | 245 | PACKAGES =+ "${X11_SEGL}" |
241 | FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES2*/x* ${bindir}/ES2*/*x" | 246 | FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES2*/x* ${bindir}/ES2*/*x" |
242 | FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES3*/x* ${bindir}/ES3*/*x" | 247 | FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES3*/x* ${bindir}/ES3*/*x" |
243 | FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES5*/x* ${bindir}/ES5*/*x" | 248 | FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES5*/x* ${bindir}/ES5*/*x" |
244 | FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES6*/x* ${bindir}/ES6*/*x" | 249 | FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES6*/x* ${bindir}/ES6*/*x" |
245 | FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES8*/x* ${bindir}/ES8*/*x" | 250 | FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES8*/x* ${bindir}/ES8*/*x" |
246 | RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8" | 251 | FILES_${PN}-x11wsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES9*/x* ${bindir}/ES9*/*x" |
252 | RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8 ${PN}-x11wsegl-es9" | ||
247 | 253 | ||
248 | FILES_${PN}-driwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES2*/libsrv_um_dri*" | 254 | FILES_${PN}-driwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES2*/libsrv_um_dri*" |
249 | FILES_${PN}-driwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES3*/libsrv_um_dri*" | 255 | FILES_${PN}-driwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES3*/libsrv_um_dri*" |
250 | FILES_${PN}-driwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES5*/libsrv_um_dri*" | 256 | FILES_${PN}-driwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES5*/libsrv_um_dri*" |
251 | FILES_${PN}-driwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES6*/libsrv_um_dri*" | 257 | FILES_${PN}-driwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES6*/libsrv_um_dri*" |
252 | FILES_${PN}-driwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES8*/libsrv_um_dri*" | 258 | FILES_${PN}-driwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES8*/libsrv_um_dri*" |
253 | RRECOMMENDS_${PN}-driwsegl = " ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8" | 259 | FILES_${PN}-driwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES9*/libsrv_um_dri*" |
260 | RRECOMMENDS_${PN}-driwsegl = " ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8 ${PN}-driwsegl-es9" | ||
254 | 261 | ||
255 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" | 262 | CONFFILES_${PN} = "${sysconfdir}/powervr.ini" |
256 | 263 | ||
@@ -282,17 +289,20 @@ INSANE_SKIP_${PN}-es3 = "ldflags dev-so staticdev" | |||
282 | INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev" | 289 | INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev" |
283 | INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev" | 290 | INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev" |
284 | INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev" | 291 | INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev" |
292 | INSANE_SKIP_${PN}-es9 = "ldflags dev-so staticdev" | ||
285 | INSANE_SKIP_${PN}-x11demos = "ldflags dev-so useless-rpaths" | 293 | INSANE_SKIP_${PN}-x11demos = "ldflags dev-so useless-rpaths" |
286 | INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so" | 294 | INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so" |
287 | INSANE_SKIP_${PN}-x11wsegl-es3 = "ldflags dev-so" | 295 | INSANE_SKIP_${PN}-x11wsegl-es3 = "ldflags dev-so" |
288 | INSANE_SKIP_${PN}-x11wsegl-es5 = "ldflags dev-so" | 296 | INSANE_SKIP_${PN}-x11wsegl-es5 = "ldflags dev-so" |
289 | INSANE_SKIP_${PN}-x11wsegl-es6 = "ldflags dev-so" | 297 | INSANE_SKIP_${PN}-x11wsegl-es6 = "ldflags dev-so" |
290 | INSANE_SKIP_${PN}-x11wsegl-es8 = "ldflags dev-so" | 298 | INSANE_SKIP_${PN}-x11wsegl-es8 = "ldflags dev-so" |
299 | INSANE_SKIP_${PN}-x11wsegl-es9 = "ldflags dev-so" | ||
291 | INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so" | 300 | INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so" |
292 | INSANE_SKIP_${PN}-driwsegl-es3 = "ldflags dev-so" | 301 | INSANE_SKIP_${PN}-driwsegl-es3 = "ldflags dev-so" |
293 | INSANE_SKIP_${PN}-driwsegl-es5 = "ldflags dev-so" | 302 | INSANE_SKIP_${PN}-driwsegl-es5 = "ldflags dev-so" |
294 | INSANE_SKIP_${PN}-driwsegl-es6 = "ldflags dev-so" | 303 | INSANE_SKIP_${PN}-driwsegl-es6 = "ldflags dev-so" |
295 | INSANE_SKIP_${PN}-driwsegl-es8 = "ldflags dev-so" | 304 | INSANE_SKIP_${PN}-driwsegl-es8 = "ldflags dev-so" |
305 | INSANE_SKIP_${PN}-driwsegl-es9 = "ldflags dev-so" | ||
296 | INSANE_SKIP_${PN}-tests = "ldflags" | 306 | INSANE_SKIP_${PN}-tests = "ldflags" |
297 | INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags" | 307 | INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags" |
298 | INSANE_SKIP_${PN}-dev = "ldflags dev-so" | 308 | INSANE_SKIP_${PN}-dev = "ldflags dev-so" |