summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles/libgles-omap3-x11.inc
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/libgles-omap3-x11.inc
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/libgles-omap3-x11.inc')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-x11.inc26
1 files changed, 18 insertions, 8 deletions
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"