aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/powervr-drivers
diff options
context:
space:
mode:
authorAnand Balagopalakrishnan <anandb@ti.com>2011-06-02 21:02:58 +0000
committerDenys Dmytriyenko <denys@ti.com>2011-06-07 21:08:35 -0400
commit7f68af9308fc51049cb2a4a1ea27d42802a530bb (patch)
treed1febe1205e34a5c5dfe7c5b0af7609d798209a3 /recipes/powervr-drivers
parent7af43d821affad5314ae533d8a56f31f0ba2a4ad (diff)
downloadopenembedded-7f68af9308fc51049cb2a4a1ea27d42802a530bb.tar.gz
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@ti.com> Acked-by: Siddharth Heroor <heroor@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes/powervr-drivers')
-rw-r--r--recipes/powervr-drivers/libgles-omap3.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index db7681d26c..36c311db8e 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