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/libgles/libgles-omap3-x11.inc | |
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/libgles/libgles-omap3-x11.inc')
-rw-r--r-- | recipes-graphics/libgles/libgles-omap3-x11.inc | 26 |
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 |
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" |