[oe-commits] Anand Balagopalakrishnan : libgles-omap3: Specify the Window System to be updated in powervr.ini

git version control git at git.openembedded.org
Wed Jun 8 02:02:40 UTC 2011


Module: openembedded.git
Branch: master
Commit: 7f68af9308fc51049cb2a4a1ea27d42802a530bb
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=7f68af9308fc51049cb2a4a1ea27d42802a530bb

Author: Anand Balagopalakrishnan <anandb at ti.com>
Date:   Thu Jun  2 21:02:58 2011 +0000

libgles-omap3: Specify the Window System to be updated in powervr.ini

* SGX driver looks at /etc/powervr.ini for the Window System to be used.
  This patch introduces a variable to specify which Window System should
  be specified in powervr.ini file.
* By having this variable, it's easy to override the default Window System
  through a config file or amendment

Signed-off-by: Anand Balagopalakrishnan <anandb at ti.com>
Acked-by: Siddharth Heroor <heroor at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes/powervr-drivers/libgles-omap3.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index db7681d..36c311d 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -28,6 +28,8 @@ ES3LOCATION ?= "${S}/gfx_rel_es3.x"
 ES5LOCATION ?= "${S}/gfx_rel_es5.x"
 ES6LOCATION ?= "${S}/gfx_rel_es6.x"
 
+LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_FRONTWSEGL.so.1"
+
 do_configure() {
 	# Attempt to fix up the worst offenders for file permissions
 	for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do
@@ -152,7 +154,7 @@ do_install () {
 
 	install -d ${D}${sysconfdir}
 	echo "[default]" > ${D}${sysconfdir}/powervr.ini
-	echo "WindowSystem=libpvrPVR2D_FRONTWSEGL.so.1" >> ${D}${sysconfdir}/powervr.ini
+	echo "WindowSystem=${LIBGLESWINDOWSYSTEM}" >> ${D}${sysconfdir}/powervr.ini
 
 	# The ES2.x, ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace
 





More information about the Openembedded-commits mailing list