[oe] [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded

Hauser, Wolfgang (external) Wolfgang.Hauser.external at cassidian.com
Tue Sep 21 09:18:11 UTC 2010


Is it possible to apply this patch soon ? I need the gles version of qt4-embedded. At the time I workaround this problem by a modified qt4-embedded recipe.
   
-----Ursprüngliche Nachricht-----
Von: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-bounces at lists.openembedded.org] Im Auftrag von Björn Krombholz
Gesendet: Montag, 20. September 2010 20:16
An: openembedded-devel at lists.openembedded.org
Betreff: Re: [oe] [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded

2010/9/20 Holger Freyther <holger+oe at freyther.de>
> On 09/20/2010 05:59 AM, Björn Krombholz wrote:
> > @@ -1,4 +1,4 @@
> > -DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1) == 'qt4-embedded')]}"
> > +DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
> >  inherit qmake2
>
> use startsWith and avoid the extra array allocation?

Array slicing just provides a new mapping onto the original array and
doesn't copy any data.

I chose this syntax to make it consistent with qt4x11.bbclass

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list