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

Siddharth Heroor heroor at gmail.com
Tue Jun 7 04:35:15 UTC 2011


On Thu, Jun 2, 2011 at 6:32 PM, Balagopalakrishnan, Anand <anandb at ti.com> wrote:
> From a5a2d6f4356db3a8be1c7cb536d78af834aa60f9 Mon Sep 17 00:00:00 2001
> From: Anand Balagopalakrishnan <anandb at ti.com>
> Date: Thu, 26 May 2011 21:11:50 +0530
> Subject: [PATCH] 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>

> ---
>  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
>
> --
> 1.7.4.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Sid




More information about the Openembedded-devel mailing list