summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles
diff options
context:
space:
mode:
authorFranklin S. Cooper Jr <fcooper@ti.com>2013-11-19 10:59:08 -0600
committerDenys Dmytriyenko <denys@ti.com>2013-11-21 21:51:39 -0500
commit767fd6ec4075eddb4c3d8c4c653f1ac77b4464e1 (patch)
tree551c62bcec2b7c15a6a4ff01d37057015a1b45bb /recipes-graphics/libgles
parenta22618208949997cf4b6082c83ad49ab2e570d9c (diff)
downloadmeta-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/libgles')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-no-x.inc34
-rw-r--r--recipes-graphics/libgles/libgles-omap3-x11.inc26
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
4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" 4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
5 5
6INC_PR = "r37" 6INC_PR = "r38"
7 7
8EXCLUDE_FROM_WORLD = "1" 8EXCLUDE_FROM_WORLD = "1"
9 9
10COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" 10COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)"
11 11
12PVR_INIT ?= "pvrsrvinit" 12PVR_INIT ?= "pvrsrvinit"
13 13
@@ -42,6 +42,7 @@ export ES3LOCATION ?= "${S}/gfx_rel_es3.x"
42export ES5LOCATION ?= "${S}/gfx_rel_es5.x" 42export ES5LOCATION ?= "${S}/gfx_rel_es5.x"
43export ES6LOCATION ?= "${S}/gfx_rel_es6.x" 43export ES6LOCATION ?= "${S}/gfx_rel_es6.x"
44export ES8LOCATION ?= "${S}/gfx_rel_es8.x" 44export ES8LOCATION ?= "${S}/gfx_rel_es8.x"
45export ES9LOCATION ?= "${S}/gfx_rel_es9.x"
45 46
46LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1" 47LIBGLESWINDOWSYSTEM ?= "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
200PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests" 203PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests"
201# Package the base libraries per silicon revision 204# Package the base libraries per silicon revision
202PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" 205PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
203RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" 206RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
204FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" 207FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*"
205FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" 208FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*"
206FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" 209FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*"
207FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" 210FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*"
211FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*"
208 212
209# Stop shlib code from picking a subpackage 213# Stop shlib code from picking a subpackage
210PRIVATE_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" 214PRIVATE_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"
211PRIVATE_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" 215PRIVATE_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"
212PRIVATE_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" 216PRIVATE_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"
213PRIVATE_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" 217PRIVATE_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"
218PRIVATE_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
215RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLES_CM.so libpvr2d.so libIMGegl.so libsrv_init.so libsrv_um.so libsrv_um_dri.so libglslcompiler.so" 221RPROVIDES_${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.*"
220FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*" 226FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*"
221FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*" 227FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*"
222 228
223PACKAGES =+ "${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" 229PACKAGES =+ "${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
225FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*" 231FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*"
226FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*" 232FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*"
227FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*" 233FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*"
228FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*" 234FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*"
229RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8" 235FILES_${PN}-blitwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_BLITWSEGL.so.*"
236RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-blitwsegl-es9"
230 237
231FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*" 238FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*"
232FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*" 239FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*"
233FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*" 240FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*"
234FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*" 241FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*"
235RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8" 242FILES_${PN}-flipwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FLIPWSEGL.so.*"
243RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-flipwsegl-es9"
236 244
237FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*" 245FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*"
238FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*" 246FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*"
239FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*" 247FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*"
240FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*" 248FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*"
241RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8" 249FILES_${PN}-frontwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_FRONTWSEGL.so.*"
250RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-frontwsegl-es9"
242 251
243FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*" 252FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*"
244FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*" 253FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*"
245FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*" 254FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*"
246FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*" 255FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*"
247RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8" 256FILES_${PN}-linuxfbwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_LINUXFBWSEGL.so.*"
257RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-linuxfbwsegl-es9"
248 258
249CONFFILES_${PN} = "${sysconfdir}/powervr.ini" 259CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
250 260
@@ -279,21 +289,25 @@ INSANE_SKIP_${PN}-blitwsegl-es3 = "ldflags"
279INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags" 289INSANE_SKIP_${PN}-blitwsegl-es5 = "ldflags"
280INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags" 290INSANE_SKIP_${PN}-blitwsegl-es6 = "ldflags"
281INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags" 291INSANE_SKIP_${PN}-blitwsegl-es8 = "ldflags"
292INSANE_SKIP_${PN}-blitwsegl-es9 = "ldflags"
282INSANE_SKIP_${PN}-flipwsegl = "ldflags" 293INSANE_SKIP_${PN}-flipwsegl = "ldflags"
283INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags" 294INSANE_SKIP_${PN}-flipwsegl-es3 = "ldflags"
284INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags" 295INSANE_SKIP_${PN}-flipwsegl-es5 = "ldflags"
285INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags" 296INSANE_SKIP_${PN}-flipwsegl-es6 = "ldflags"
286INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags" 297INSANE_SKIP_${PN}-flipwsegl-es8 = "ldflags"
298INSANE_SKIP_${PN}-flipwsegl-es9 = "ldflags"
287INSANE_SKIP_${PN}-frontwsegl = "ldflags" 299INSANE_SKIP_${PN}-frontwsegl = "ldflags"
288INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags" 300INSANE_SKIP_${PN}-frontwsegl-es3 = "ldflags"
289INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags" 301INSANE_SKIP_${PN}-frontwsegl-es5 = "ldflags"
290INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags" 302INSANE_SKIP_${PN}-frontwsegl-es6 = "ldflags"
291INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags" 303INSANE_SKIP_${PN}-frontwsegl-es8 = "ldflags"
304INSANE_SKIP_${PN}-frontwsegl-es9 = "ldflags"
292INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags" 305INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags"
293INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags" 306INSANE_SKIP_${PN}-linuxfbwsegl-es3 = "ldflags"
294INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags" 307INSANE_SKIP_${PN}-linuxfbwsegl-es5 = "ldflags"
295INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags" 308INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags"
296INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags" 309INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags"
310INSANE_SKIP_${PN}-linuxfbwsegl-es9 = "ldflags"
297INSANE_SKIP_${PN}-tests = "ldflags" 311INSANE_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
4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" 4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
5 5
6INC_PR = "r37" 6INC_PR = "r38"
7 7
8EXCLUDE_FROM_WORLD = "1" 8EXCLUDE_FROM_WORLD = "1"
9 9
10COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" 10COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x|ti43x)"
11 11
12DEPENDS = "virtual/libx11 libxau libxdmcp libdrm" 12DEPENDS = "virtual/libx11 libxau libxdmcp libdrm"
13 13
@@ -46,6 +46,7 @@ export ES3LOCATION ?= "${S}/gfx_rel_es3.x"
46export ES5LOCATION ?= "${S}/gfx_rel_es5.x" 46export ES5LOCATION ?= "${S}/gfx_rel_es5.x"
47export ES6LOCATION ?= "${S}/gfx_rel_es6.x" 47export ES6LOCATION ?= "${S}/gfx_rel_es6.x"
48export ES8LOCATION ?= "${S}/gfx_rel_es8.x" 48export ES8LOCATION ?= "${S}/gfx_rel_es8.x"
49export ES9LOCATION ?= "${S}/gfx_rel_es9.x"
49 50
50LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_DRIWSEGL.so" 51LIBGLESWINDOWSYSTEM ?= "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 () {
219PACKAGES =+ "${PN}-x11demos ${PN}-x11trainingcourses xserver-kdrive-powervrsgx" 222PACKAGES =+ "${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
222PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" 225PACKAGES =+ "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
223RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8" 226RRECOMMENDS_${PN} += "${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8 ${PN}-es9"
224FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*" 227FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*"
225FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*" 228FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*"
226FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*" 229FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*"
227FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*" 230FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*"
231FILES_${PN}-es9 = "${libdir}/ES9*/* ${bindir}/ES9*/*"
228 232
229# Stop shlib code from picking a subpackage 233# Stop shlib code from picking a subpackage
230PRIVATE_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" 234PRIVATE_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"
231PRIVATE_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" 235PRIVATE_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"
232PRIVATE_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" 236PRIVATE_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"
233PRIVATE_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" 237PRIVATE_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"
238PRIVATE_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
235PACKAGES =+ "${PN}-x11wsegl ${PN}-driwsegl" 240PACKAGES =+ "${PN}-x11wsegl ${PN}-driwsegl"
236FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${bindir}/x* ${bindir}/*x" 241FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${bindir}/x* ${bindir}/*x"
237FILES_${PN}-driwsegl = "${libdir}/libpvrPVR2D_DRIWSEGL.so* ${libdir}/libsrv_um_dri*" 242FILES_${PN}-driwsegl = "${libdir}/libpvrPVR2D_DRIWSEGL.so* ${libdir}/libsrv_um_dri*"
238 243
239X11_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 " 244X11_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"
240PACKAGES =+ "${X11_SEGL}" 245PACKAGES =+ "${X11_SEGL}"
241FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES2*/x* ${bindir}/ES2*/*x" 246FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES2*/x* ${bindir}/ES2*/*x"
242FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES3*/x* ${bindir}/ES3*/*x" 247FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES3*/x* ${bindir}/ES3*/*x"
243FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES5*/x* ${bindir}/ES5*/*x" 248FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES5*/x* ${bindir}/ES5*/*x"
244FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES6*/x* ${bindir}/ES6*/*x" 249FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES6*/x* ${bindir}/ES6*/*x"
245FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES8*/x* ${bindir}/ES8*/*x" 250FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES8*/x* ${bindir}/ES8*/*x"
246RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8" 251FILES_${PN}-x11wsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_X11WSEGL.so.* ${bindir}/ES9*/x* ${bindir}/ES9*/*x"
252RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8 ${PN}-x11wsegl-es9"
247 253
248FILES_${PN}-driwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES2*/libsrv_um_dri*" 254FILES_${PN}-driwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES2*/libsrv_um_dri*"
249FILES_${PN}-driwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES3*/libsrv_um_dri*" 255FILES_${PN}-driwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES3*/libsrv_um_dri*"
250FILES_${PN}-driwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES5*/libsrv_um_dri*" 256FILES_${PN}-driwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES5*/libsrv_um_dri*"
251FILES_${PN}-driwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES6*/libsrv_um_dri*" 257FILES_${PN}-driwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES6*/libsrv_um_dri*"
252FILES_${PN}-driwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES8*/libsrv_um_dri*" 258FILES_${PN}-driwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES8*/libsrv_um_dri*"
253RRECOMMENDS_${PN}-driwsegl = " ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8" 259FILES_${PN}-driwsegl-es9 = "${libdir}/ES9*/libpvrPVR2D_DRIWSEGL.so.* ${libdir}/ES9*/libsrv_um_dri*"
260RRECOMMENDS_${PN}-driwsegl = " ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8 ${PN}-driwsegl-es9"
254 261
255CONFFILES_${PN} = "${sysconfdir}/powervr.ini" 262CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
256 263
@@ -282,17 +289,20 @@ INSANE_SKIP_${PN}-es3 = "ldflags dev-so staticdev"
282INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev" 289INSANE_SKIP_${PN}-es5 = "ldflags dev-so staticdev"
283INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev" 290INSANE_SKIP_${PN}-es6 = "ldflags dev-so staticdev"
284INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev" 291INSANE_SKIP_${PN}-es8 = "ldflags dev-so staticdev"
292INSANE_SKIP_${PN}-es9 = "ldflags dev-so staticdev"
285INSANE_SKIP_${PN}-x11demos = "ldflags dev-so useless-rpaths" 293INSANE_SKIP_${PN}-x11demos = "ldflags dev-so useless-rpaths"
286INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so" 294INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so"
287INSANE_SKIP_${PN}-x11wsegl-es3 = "ldflags dev-so" 295INSANE_SKIP_${PN}-x11wsegl-es3 = "ldflags dev-so"
288INSANE_SKIP_${PN}-x11wsegl-es5 = "ldflags dev-so" 296INSANE_SKIP_${PN}-x11wsegl-es5 = "ldflags dev-so"
289INSANE_SKIP_${PN}-x11wsegl-es6 = "ldflags dev-so" 297INSANE_SKIP_${PN}-x11wsegl-es6 = "ldflags dev-so"
290INSANE_SKIP_${PN}-x11wsegl-es8 = "ldflags dev-so" 298INSANE_SKIP_${PN}-x11wsegl-es8 = "ldflags dev-so"
299INSANE_SKIP_${PN}-x11wsegl-es9 = "ldflags dev-so"
291INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so" 300INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so"
292INSANE_SKIP_${PN}-driwsegl-es3 = "ldflags dev-so" 301INSANE_SKIP_${PN}-driwsegl-es3 = "ldflags dev-so"
293INSANE_SKIP_${PN}-driwsegl-es5 = "ldflags dev-so" 302INSANE_SKIP_${PN}-driwsegl-es5 = "ldflags dev-so"
294INSANE_SKIP_${PN}-driwsegl-es6 = "ldflags dev-so" 303INSANE_SKIP_${PN}-driwsegl-es6 = "ldflags dev-so"
295INSANE_SKIP_${PN}-driwsegl-es8 = "ldflags dev-so" 304INSANE_SKIP_${PN}-driwsegl-es8 = "ldflags dev-so"
305INSANE_SKIP_${PN}-driwsegl-es9 = "ldflags dev-so"
296INSANE_SKIP_${PN}-tests = "ldflags" 306INSANE_SKIP_${PN}-tests = "ldflags"
297INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags" 307INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags"
298INSANE_SKIP_${PN}-dev = "ldflags dev-so" 308INSANE_SKIP_${PN}-dev = "ldflags dev-so"