[oe-commits] Koen Kooi : libgles-omap3: add ti816x support and fix packaging
git version control
git at git.openembedded.org
Wed Oct 6 11:27:02 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d50346e98ecc7e61601015ebb945bb6bec87b51a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d50346e98ecc7e61601015ebb945bb6bec87b51a
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Oct 6 13:24:31 2010 +0200
libgles-omap3: add ti816x support and fix packaging
Signed-off-by: Koen Kooi <k-kooi at ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index e97eb85..938b59b 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -1,9 +1,9 @@
DESCRIPTION = "libGLES for the omap3"
LICENSE = "proprietary-binary"
-PR = "r6"
+PR = "r7"
-COMPATIBLE_MACHINE = "(omap3)"
+COMPATIBLE_MACHINE = "(omap3|ti816x)"
DEPENDS = "virtual/libx11 libxau libxdmcp"
@@ -41,6 +41,7 @@ BINLOCATION ?= "${S}/gfx_rel"
ES2LOCATION ?= "${S}/gfx_rel_es2.x"
ES3LOCATION ?= "${S}/gfx_rel_es3.x"
ES5LOCATION ?= "${S}/gfx_rel_es5.x"
+ES6LOCATION ?= "${S}/gfx_rel_es6.x"
do_configure() {
# Attempt to fix up the worst offenders for file permissions
@@ -165,12 +166,14 @@ do_install () {
echo "[default]" > ${D}${sysconfdir}/powervr.ini
echo "WindowSystem=libpvrPVR2D_FRONTWSEGL.so.1" >> ${D}${sysconfdir}/powervr.ini
- # The ES2.x, ES3.x and ES5.x CPUs have different SGX hardware, so we need to install 2 sets of userspace
+ # The ES2.x, ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace
+ install -d ${D}${libdir}/ES6.0
install -d ${D}${libdir}/ES5.0
install -d ${D}${libdir}/ES3.0
install -d ${D}${libdir}/ES2.0
+ install -d ${D}${bindir}/ES6.0
install -d ${D}${bindir}/ES5.0
install -d ${D}${bindir}/ES3.0
install -d ${D}${bindir}/ES2.0
@@ -187,6 +190,13 @@ do_install () {
cp ${ES5LOCATION}/p[dv]* ${D}${bindir}/ES5.0/
fi
+ if [ -e ${ES6LOCATION} ] ; then
+ cp -pPR ${ES6LOCATION}/lib*${IMGPV} ${D}${libdir}/ES6.0/
+ cp ${ES6LOCATION}/p[dv]* ${D}${bindir}/ES6.0/
+ fi
+
+ rm ${D}${bindir}/ES*/*.h ${D}${bindir}/ES*/pdsasm ${D}${bindir}/pdsasm -f || true
+
install -d ${D}${prefix}/share/applications
cp ${WORKDIR}/*.desktop ${D}${prefix}/share/applications
rm ${D}${prefix}/share/applications/sample.desktop
More information about the Openembedded-commits
mailing list