[oe] [PATCH][v3] gcc-cross: fix PV and make it compile

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Jul 28 17:39:45 UTC 2010


On Wed, Jul 28, 2010 at 07:16:05PM +0200, Koen Kooi wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 28-07-10 19:14, Bernhard Reutner-Fischer wrote:
>
>> -PV = "4.6+svnr${SRCPV}"
>> +PR = "4.6+svnr${SRCPV}"
>
>NAK, PV = "4.6+svnr${SRCPV}" is the right thing to do

ok what should i do then?
I want to use the svn version of gcc regardless of it being called
"1.2.3-svn" or "5.0.0-svn" so i put this into my local.conf:

#PREFERRED_GCC_VERSION = "4.4.4"
PREFERRED_GCC_VERSION = "svn"

But that obviously doesn't work with a PV of "4.6+svnr${SRCPV}" like
current git has.
I made up that "svn" intuitively, with the following reasoning:
i'm using the subversion version (_version_, hence PV)
with an arbitrary revision as Package Release that will sort correctly
iff a 4.6.0 release would be made.

Now how am i supposed to pick "svn" if not by using "svn"?

thanks for clarification,




More information about the Openembedded-devel mailing list