[WIP] Recipe for Vivante GPU Sdk

Submitted by Diego Rondini on April 30, 2013, 1:27 p.m.


Message ID 75964795.ISa8W3O49f@localhost.localdomain
State Not Applicable, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Diego Rondini April 30, 2013, 1:27 p.m.
In data martedì 30 aprile 2013 08:33:06, Daiane Angolini ha scritto:
> On 04/30/2013 07:25 AM, Diego wrote:
> > Looking more closely at the string gcc string there's a leftover "-I" with
> > no path which actually breaks compilation. I'll adjust the Makefiles
> > patch.

Ok, fixed that and another build issue (strangely enough 
Samples/GLES1.1/Makefile.x11 tries to build 2 examples that are not there in 
the package). Now the recipes compiles but doesn't install anything.

Attached are the updated recipe and patches (BTW, is there a suggested way to 
propose a new recipe and its revisions?).

> Did I understand it right? Inside gpu-sdk there are 3 "samples". Each
> one has it's own Makefile, and there is no "commom" Makefile.

Yes, the "Samples" folder has 3 subfolders (GLES1.1, GLES2.0 and OpenVG) each 
with its own Makefile.[fbdev|x11], but no common Makefile. Moreover OpenVG has 
no Makefile.x11.

> Are you thinking about create one recipe for the "gpu-sdk" package and
> make it provides 3 "packages"?
> Or, are you thinking about create one recipe for each "sample"?

I'm not an expert packager, so I'm eager to receive suggestions on what's 

> *instalation
> I took a look on one Makefile, and if you do not define DESTDIR it will
> assume a default value for it. So, you must define DESTDIR someway.

I'm open to suggestions on where to install the result. Could /opt/vivante-
gpu-sdk/ be a good idea as they are nothing more than samples? By default the 
make install puts the result in a bin/GLES11_X11 folder. The first part can be 
GLES11, GLES20 or OpenVG, second part can be X11 or fbdev.

Thank for your help,

Patch hide | download patch | download mbox

From 97f3af7a44b41f3e46c54765ba415ba9f511fb81 Mon Sep 17 00:00:00 2001
From: Diego Rondini <diego.ml@zoho.com>
Date: Tue, 30 Apr 2013 12:46:38 +0200
Subject: [PATCH 2/2] Don't build missing samples

Samples 18_VertexBufferObjects and 19_Beizer are not included in the package, so don't try to compile them.
 Samples/GLES1.1/Makefile.x11 |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Samples/GLES1.1/Makefile.x11 b/Samples/GLES1.1/Makefile.x11
index 003763d..1c95158 100755
--- a/Samples/GLES1.1/Makefile.x11
+++ b/Samples/GLES1.1/Makefile.x11
@@ -17,9 +17,7 @@  SUB_PROJECTS= \
 	14_ParticlesSpritesAnimation \
 	15_ParticleAccelerator \
 	16_VertexBufferObjects \
-	17_Beizer \
-	18_VertexBufferObjects \
-	19_Beizer
+	17_Beizer
 .PHONY: all