Skip to contentSkip to conversation

libgles-omap3: use es5 version for 37x machines

PATCH NAK Chase Maupin 2 participants 2 messages Aug 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgles-omap3: use es5 version for 37x machines

* Set BINLOCATION to use es5.x version for am37x-evm and dm37x-evm machine types.
* Bump PR

---
 recipes/powervr-drivers/libgles-omap3.inc          |    2 +-
 .../powervr-drivers/libgles-omap3_3.01.00.06.bb    |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
recipes/powervr-drivers/libgles-omap3.inc +1 -1
index d183486..12839e6 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "libGLES for the omap3"
 LICENSE = "proprietary-binary"
 
-PR = "r6"
+PR = "r7"
 
 COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)"
 
recipes/powervr-drivers/libgles-omap3_3.01.00.06.bb +3 -1
index bb7994f..b3611a3 100644
@@ -1,4 +1,6 @@
-BINLOCATION = "${S}/gfx_rel_es3.x"
+BINLOCATION_dm37x-evm = "${S}/gfx_rel_es5.x"
+BINLOCATION_am37x-evm = "${S}/gfx_rel_es5.x"
+BINLOCATION ?= "${S}/gfx_rel_es3.x"
 
 ES2LOCATION = "${S}/gfx_rel_es2.x"
 ES3LOCATION = "${S}/gfx_rel_es3.x"
Signature · 1 line
1.7.0.4
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Chase Maupin

* Set BINLOCATION to use es5.x version for am37x-evm and dm37x-evm machine types.
* Bump PR

NAK, this patch doesn't do what you think it does. The current ES5.x switching is already working like it should. What your patch does:

copy es2 into ES2.0/
don't copy es3 into ES3.0/
copy es5 into ES5.0
copy es5 into ES3.0

Even if the switching wasn't working, this is the *completely* wrong way to fix it.

Quoted 26 lines
---
 recipes/powervr-drivers/libgles-omap3.inc          |    2 +-
 .../powervr-drivers/libgles-omap3_3.01.00.06.bb    |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
recipes/powervr-drivers/libgles-omap3.inc +1 -1
index d183486..12839e6 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "libGLES for the omap3"
 LICENSE = "proprietary-binary"
 
-PR = "r6"
+PR = "r7"
 
 COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)"
 
recipes/powervr-drivers/libgles-omap3_3.01.00.06.bb +0 -0
index bb7994f..b3611a3 100644

recipes/powervr-drivers/libgles-omap3_3.01.00.06.bb line 6

Quoted 7 lines
recipes/powervr-drivers/libgles-omap3_3.01.00.06.bb +3 -1
@@ -1,4 +1,6 @@
-BINLOCATION = "${S}/gfx_rel_es3.x"
+BINLOCATION_dm37x-evm = "${S}/gfx_rel_es5.x"
+BINLOCATION_am37x-evm = "${S}/gfx_rel_es5.x"
+BINLOCATION ?= "${S}/gfx_rel_es3.x"
 
 ES2LOCATION = "${S}/gfx_rel_es2.x"
 ES3LOCATION = "${S}/gfx_rel_es3.x"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMYv67MkyGM64RGpERAvAYAJ9H5oJPSnLs7ez9XfgfnR3c4MS5HgCcDOvQ jQJXncXmttvmaPqmdq8n7SM=
=l4tO
-----END PGP SIGNATURE-----