<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 10:57 AM, Diego Rondini <span dir="ltr"><<a href="mailto:diego.ml@zoho.com" target="_blank">diego.ml@zoho.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Initial contribution of a recipe for Vivate GPU Samples from Vivante GPU Sdk.<br>

<br>
Signed-off-by: Diego Rondini <<a href="mailto:diego.ml@zoho.com">diego.ml@zoho.com</a>><br></blockquote><div><br></div><div style>Please change the commit log to be more assertive; something like:</div><div style><br>
</div><div style>---</div><div style>vivante-gpu-sdk: Add recipe for GPU samples</div><div style><br></div><div style>Provides the samples provided by Vivante for use with the GPU.</div><div style>---</div><div style><br>
</div><div style>Or something like that.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

---<br>
 ...ation-of-the-GLES1.1-X11-Samples-in-Yocto.patch |  594 ++++++++++++++++++++<br>
 .../0002-Don-t-build-missing-samples.patch         |   28 +<br>
 .../vivante-gpu-sdk/<a href="http://vivante-gpu-sdk_1.00.bb" target="_blank">vivante-gpu-sdk_1.00.bb</a>        |   35 ++<br>
 3 files changed, 657 insertions(+)<br>
 create mode 100644 recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0001-Fix-compilation-of-the-GLES1.1-X11-Samples-in-Yocto.patch<br>
 create mode 100644 recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0002-Don-t-build-missing-samples.patch<br>
 create mode 100644 recipes-graphics/vivante-gpu-sdk/<a href="http://vivante-gpu-sdk_1.00.bb" target="_blank">vivante-gpu-sdk_1.00.bb</a><br>
<br>
diff --git a/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0001-Fix-compilation-of-the-GLES1.1-X11-Samples-in-Yocto.patch b/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0001-Fix-compilation-of-the-GLES1.1-X11-Samples-in-Yocto.patch<br>

new file mode 100644<br>
index 0000000..dacfd36<br>
--- /dev/null<br>
+++ b/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0001-Fix-compilation-of-the-GLES1.1-X11-Samples-in-Yocto.patch<br>
@@ -0,0 +1,594 @@<br>
+From 72ba888f8e33a95343be834d5d9f12ce5d8c00f2 Mon Sep 17 00:00:00 2001<br>
+From: Diego Rondini <<a href="mailto:diego.ml@zoho.com">diego.ml@zoho.com</a>><br>
+Date: Tue, 30 Apr 2013 10:52:25 +0200<br>
+Subject: [PATCH 1/2] Fix compilation of the GLES1.1 X11 Samples in Yocto<br>
+<br>
+This commit fixes the following build problems:<br>
+- gcc 4.7 compatibility (remove unsupported "-Wl" option);<br>
+- wrong compiler binary name (caused by an overwrite of CC and AR variables)<br>
+- unknown include and library paths (caused by forcing paths when not needed)<br></blockquote><div><br></div><div style>Missed signed-off-by and upstream-status.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+---<br>
+ Samples/GLES1.1/01_SimpleTriangle/Makefile.x11     |    9 +--------<br>
+ Samples/GLES1.1/02_VertexColors/Makefile.x11       |    7 +------<br>
+ .../GLES1.1/03_VertexTransformation/Makefile.x11   |    7 +------<br>
+ .../04_ColoredVerticesInterpolation/Makefile.x11   |    7 +------<br>
+ Samples/GLES1.1/05_GeometricObjects/Makefile.x11   |    7 +------<br>
+ Samples/GLES1.1/06_Projection/Makefile.x11         |    7 +------<br>
+ Samples/GLES1.1/07_BasicTexturing/Makefile.x11     |    7 +------<br>
+ Samples/GLES1.1/08_Multitexturing/Makefile.x11     |    7 +------<br>
+ Samples/GLES1.1/09_Alphablending/Makefile.x11      |    7 +------<br>
+ Samples/GLES1.1/10_FilteringLights/Makefile.x11    |    7 +------<br>
+ Samples/GLES1.1/11_LightingFog/Makefile.x11        |    7 +------<br>
+ Samples/GLES1.1/12_Stencil/Makefile.x11            |    7 +------<br>
+ Samples/GLES1.1/13_3DFonts/Makefile.x11            |    7 +------<br>
+ .../14_ParticlesSpritesAnimation/Makefile.x11      |    7 +------<br>
+ .../GLES1.1/15_ParticleAccelerator/Makefile.x11    |    7 +------<br>
+ .../GLES1.1/16_VertexBufferObjects/Makefile.x11    |    7 +------<br>
+ Samples/GLES1.1/17_Beizer/Makefile.x11             |    7 +------<br>
+ 17 files changed, 17 insertions(+), 104 deletions(-)<br>
+<br>
+diff --git a/Samples/GLES1.1/01_SimpleTriangle/Makefile.x11 b/Samples/GLES1.1/01_SimpleTriangle/Makefile.x11<br>
+index 1b86dbf..54c09ab 100755<br>
+--- a/Samples/GLES1.1/01_SimpleTriangle/Makefile.x11<br>
++++ b/Samples/GLES1.1/01_SimpleTriangle/Makefile.x11<br>
+@@ -2,12 +2,6 @@ APPNAME                       := 01_SimpleTriangle<br>
+ DESTDIR                       ?= .<br>
+<br>
+<br>
+-# Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+-<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +15,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +23,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/glu3.o<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/02_VertexColors/Makefile.x11 b/Samples/GLES1.1/02_VertexColors/Makefile.x11<br>
+index 6d9d063..d2294e8 100755<br>
+--- a/Samples/GLES1.1/02_VertexColors/Makefile.x11<br>
++++ b/Samples/GLES1.1/02_VertexColors/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +25,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/glu3.o<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/03_VertexTransformation/Makefile.x11 b/Samples/GLES1.1/03_VertexTransformation/Makefile.x11<br>
+index b5574e0..8f41874 100755<br>
+--- a/Samples/GLES1.1/03_VertexTransformation/Makefile.x11<br>
++++ b/Samples/GLES1.1/03_VertexTransformation/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +25,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/glu3.o<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL  -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/04_ColoredVerticesInterpolation/Makefile.x11 b/Samples/GLES1.1/04_ColoredVerticesInterpolation/Makefile.x11<br>
+index c9346f2..9092b2b 100755<br>
+--- a/Samples/GLES1.1/04_ColoredVerticesInterpolation/Makefile.x11<br>
++++ b/Samples/GLES1.1/04_ColoredVerticesInterpolation/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -29,7 +24,7 @@ OBJECTS_TUT += \<br>
+       ColoredVerticesInterpolation.o \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/05_GeometricObjects/Makefile.x11 b/Samples/GLES1.1/05_GeometricObjects/Makefile.x11<br>
+index a2cec68..295fd77 100755<br>
+--- a/Samples/GLES1.1/05_GeometricObjects/Makefile.x11<br>
++++ b/Samples/GLES1.1/05_GeometricObjects/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +25,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/glu3.o<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/06_Projection/Makefile.x11 b/Samples/GLES1.1/06_Projection/Makefile.x11<br>
+index 84b674f..a33dcef 100755<br>
+--- a/Samples/GLES1.1/06_Projection/Makefile.x11<br>
++++ b/Samples/GLES1.1/06_Projection/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +25,7 @@ OBJECTS_TUT += \<br>
+       render.o \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/07_BasicTexturing/Makefile.x11 b/Samples/GLES1.1/07_BasicTexturing/Makefile.x11<br>
+index a22a236..1278393 100755<br>
+--- a/Samples/GLES1.1/07_BasicTexturing/Makefile.x11<br>
++++ b/Samples/GLES1.1/07_BasicTexturing/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -33,7 +28,7 @@ OBJECTS_TUT += \<br>
+<br>
+ ASSETS        = BasicTexturing.bmp<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/08_Multitexturing/Makefile.x11 b/Samples/GLES1.1/08_Multitexturing/Makefile.x11<br>
+index f8d244f..d8a3841 100755<br>
+--- a/Samples/GLES1.1/08_Multitexturing/Makefile.x11<br>
++++ b/Samples/GLES1.1/08_Multitexturing/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+ ASSETS        = data<br>
+@@ -32,7 +27,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/fslutil.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/09_Alphablending/Makefile.x11 b/Samples/GLES1.1/09_Alphablending/Makefile.x11<br>
+index aa9ab43..39c964a 100755<br>
+--- a/Samples/GLES1.1/09_Alphablending/Makefile.x11<br>
++++ b/Samples/GLES1.1/09_Alphablending/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -33,7 +28,7 @@ OBJECTS_TUT += \<br>
+<br>
+ ASSETS        = Alphablending.bmp<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/10_FilteringLights/Makefile.x11 b/Samples/GLES1.1/10_FilteringLights/Makefile.x11<br>
+index d5f17c7..9ac6886 100755<br>
+--- a/Samples/GLES1.1/10_FilteringLights/Makefile.x11<br>
++++ b/Samples/GLES1.1/10_FilteringLights/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -33,7 +28,7 @@ OBJECTS_TUT += \<br>
+<br>
+ ASSETS        = FilteringLights.bmp<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/11_LightingFog/Makefile.x11 b/Samples/GLES1.1/11_LightingFog/Makefile.x11<br>
+index a284335..d2f57c2 100755<br>
+--- a/Samples/GLES1.1/11_LightingFog/Makefile.x11<br>
++++ b/Samples/GLES1.1/11_LightingFog/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+ ASSETS        = data<br>
+@@ -32,7 +27,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/12_Stencil/Makefile.x11 b/Samples/GLES1.1/12_Stencil/Makefile.x11<br>
+index 7d86842..1823434 100755<br>
+--- a/Samples/GLES1.1/12_Stencil/Makefile.x11<br>
++++ b/Samples/GLES1.1/12_Stencil/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -30,7 +25,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/glu3.o<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/13_3DFonts/Makefile.x11 b/Samples/GLES1.1/13_3DFonts/Makefile.x11<br>
+index 7075616..0499002 100755<br>
+--- a/Samples/GLES1.1/13_3DFonts/Makefile.x11<br>
++++ b/Samples/GLES1.1/13_3DFonts/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -24,7 +20,6 @@ ASSETS       = data<br>
+<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -35,7 +30,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/fslutil.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/14_ParticlesSpritesAnimation/Makefile.x11 b/Samples/GLES1.1/14_ParticlesSpritesAnimation/Makefile.x11<br>
+index ccf7a75..7be1e6d 100755<br>
+--- a/Samples/GLES1.1/14_ParticlesSpritesAnimation/Makefile.x11<br>
++++ b/Samples/GLES1.1/14_ParticlesSpritesAnimation/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -33,7 +28,7 @@ OBJECTS_TUT += \<br>
+<br>
+ ASSETS        = ParticlesSpritesAnimation.bmp<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/15_ParticleAccelerator/Makefile.x11 b/Samples/GLES1.1/15_ParticleAccelerator/Makefile.x11<br>
+index 67bae20..72c557e 100755<br>
+--- a/Samples/GLES1.1/15_ParticleAccelerator/Makefile.x11<br>
++++ b/Samples/GLES1.1/15_ParticleAccelerator/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+ ASSETS        = data<br>
+@@ -37,7 +32,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/fslutil.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/16_VertexBufferObjects/Makefile.x11 b/Samples/GLES1.1/16_VertexBufferObjects/Makefile.x11<br>
+index 418f37d..a96e982 100755<br>
+--- a/Samples/GLES1.1/16_VertexBufferObjects/Makefile.x11<br>
++++ b/Samples/GLES1.1/16_VertexBufferObjects/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       ?= .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+ ASSETS        = data<br>
+@@ -36,7 +31,7 @@ OBJECTS_TUT += \<br>
+       $(COMMON_DIR)/src/fsl_egl.o\<br>
+       $(COMMON_DIR)/src/fslutil.o\<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+diff --git a/Samples/GLES1.1/17_Beizer/Makefile.x11 b/Samples/GLES1.1/17_Beizer/Makefile.x11<br>
+index 7fba8ce..1e18c51 100755<br>
+--- a/Samples/GLES1.1/17_Beizer/Makefile.x11<br>
++++ b/Samples/GLES1.1/17_Beizer/Makefile.x11<br>
+@@ -3,11 +3,7 @@ DESTDIR                       = .<br>
+<br>
+<br>
+ # Make command to use for dependencies<br>
+-CC = $(CROSS_COMPILE)gcc<br>
+-AR = $(CROSS_COMPILE)ar<br>
+<br>
+-TARGET_PATH_LIB = $(ROOTFS)/usr/lib<br>
+-TARGET_PATH_INCLUDE = $(ROOTFS)/usr/include<br>
+ COMMON_DIR=../common<br>
+<br>
+ BIN_TUT = $(DESTDIR)/$(APPNAME)<br>
+@@ -21,7 +17,6 @@ CFLAGS_TUT += \<br>
+       -DEGL_USE_X11 \<br>
+<br>
+ CFLAGS_TUT += \<br>
+-      -I$(TARGET_PATH_INCLUDE) \<br>
+       -I$(COMMON_DIR)/inc \<br>
+<br>
+<br>
+@@ -33,7 +28,7 @@ OBJECTS_TUT += \<br>
+<br>
+ ASSETS        = Beizer.bmp<br>
+<br>
+-DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)<br>
++DEPS_TUT = -lstdc++ -lm -lGLESv1_CM -lEGL -lX11 -ldl<br>
+<br>
+ $(BIN_TUT) : $(OBJECTS_TUT)<br>
+       @echo " LD " $@<br>
+--<br>
+1.7.9.5<br>
+<br>
diff --git a/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0002-Don-t-build-missing-samples.patch b/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0002-Don-t-build-missing-samples.patch<br>
new file mode 100644<br>
index 0000000..1503848<br>
--- /dev/null<br>
+++ b/recipes-graphics/vivante-gpu-sdk/vivante-gpu-sdk/0002-Don-t-build-missing-samples.patch<br>
@@ -0,0 +1,28 @@<br>
+From 97f3af7a44b41f3e46c54765ba415ba9f511fb81 Mon Sep 17 00:00:00 2001<br>
+From: Diego Rondini <<a href="mailto:diego.ml@zoho.com">diego.ml@zoho.com</a>><br>
+Date: Tue, 30 Apr 2013 12:46:38 +0200<br>
+Subject: [PATCH 2/2] Don't build missing samples<br>
+<br>
+Samples 18_VertexBufferObjects and 19_Beizer are not included in the package, so don't try to compile them.<br></blockquote><div><br></div><div>Missed signed-off-by and upstream-status.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+---<br>
+ Samples/GLES1.1/Makefile.x11 |    4 +---<br>
+ 1 file changed, 1 insertion(+), 3 deletions(-)<br>
+<br>
+diff --git a/Samples/GLES1.1/Makefile.x11 b/Samples/GLES1.1/Makefile.x11<br>
+index 003763d..1c95158 100755<br>
+--- a/Samples/GLES1.1/Makefile.x11<br>
++++ b/Samples/GLES1.1/Makefile.x11<br>
+@@ -17,9 +17,7 @@ SUB_PROJECTS= \<br>
+       14_ParticlesSpritesAnimation \<br>
+       15_ParticleAccelerator \<br>
+       16_VertexBufferObjects \<br>
+-      17_Beizer \<br>
+-      18_VertexBufferObjects \<br>
+-      19_Beizer<br>
++      17_Beizer<br>
+<br>
+<br>
+ .PHONY: all<br>
+--<br>
+1.7.9.5<br>
+<br>
diff --git a/recipes-graphics/vivante-gpu-sdk/<a href="http://vivante-gpu-sdk_1.00.bb" target="_blank">vivante-gpu-sdk_1.00.bb</a> b/recipes-graphics/vivante-gpu-sdk/<a href="http://vivante-gpu-sdk_1.00.bb" target="_blank">vivante-gpu-sdk_1.00.bb</a><br>

new file mode 100644<br>
index 0000000..69bcd01<br>
--- /dev/null<br>
+++ b/recipes-graphics/vivante-gpu-sdk/<a href="http://vivante-gpu-sdk_1.00.bb" target="_blank">vivante-gpu-sdk_1.00.bb</a><br>
@@ -0,0 +1,35 @@<br>
+SUMMARY = "Vivante GPU SDK Samples"<br>
+DESCRIPTION = "Freescale's adaptation of Jeff Molofee demos"<br></blockquote><div><br></div><div style>Is this description accurate?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+LICENSE = "Proprietary"<br>
+LIC_FILES_CHKSUM = "file://COPYING;md5=b3ed4253a63ac8555ccab7c4c0aa29a1"<br>
+<br>
+PR = "r0"<br></blockquote><div><br></div><div style>Drop PR assignment.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+inherit fsl-eula-unpack<br>
+<br>
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \<br>
+       file://0001-Fix-compilation-of-the-GLES1.1-X11-Samples-in-Yocto.patch;striplevel=1 \<br>
+       file://0002-Don-t-build-missing-samples.patch;striplevel=1"<br></blockquote><div><br></div><div style>The striplevel 1 is the default so you can remove it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+SRC_URI[md5sum] = "344c9a260b46a00f86eb5cb73bf729e0"<br>
+SRC_URI[sha256sum] = "0f0a576ce1a08719ee1018832ae808ee723fad27a534c9739b5feec6d7435c57"<br>
+<br>
+S = "${WORKDIR}/${PN}-${PV}"<br>
+GLES11DIR = "${S}/Samples/GLES1.1"<br></blockquote><div><br></div><div style>You can avoid this setting:</div><div style><br></div><div style>WORKDIR = "${S}/Samples/GLES1.1"</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+VIVANTE_INSTALL_DIR = "/opt/${PN}" </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+VIVANTE_INSTALL_DEST_DIR = "${D}${VIVANTE_INSTALL_DIR}"</blockquote><div><br></div><div style>I'd use these explicitly as the variable name is bigger than the content of it ;-)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
+do_compile () {<br>
+       cd "${GLES11DIR}"<br></blockquote><div><br></div><div style>This can be removed.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+       oe_runmake -f Makefile.x11<br>
+}<br>
+<br>
+do_install () {<br>
+       cd "${GLES11DIR}"<br></blockquote><div><br></div><div style>This can be removed.</div><div style> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+       install -d "${VIVANTE_INSTALL_DEST_DIR}"<br>
+       oe_runmake -f Makefile.x11 install<br>
+       cp -r bin/ "${VIVANTE_INSTALL_DEST_DIR}"<br></blockquote><div><br></div><div style>Uh? make install does not handle this?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+}<br>
+<br>
+FILES_${PN} += "${VIVANTE_INSTALL_DIR}"<br>
+FILES_${PN}-dbg = "${VIVANTE_INSTALL_DIR}/*/*/.debug" </blockquote></div><div><br></div>-- <br>Otavio Salvador                             O.S. Systems<br><a href="http://www.ossystems.com.br" target="_blank">http://www.ossystems.com.br</a>        <a href="http://projetos.ossystems.com.br" target="_blank">http://projetos.ossystems.com.br</a><br>
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750<br>
</div></div>