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

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Jul 29 06:18:59 UTC 2010


2010/7/28 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>

> On Wed, Jul 28, 2010 at 09:37:03PM +0200, Koen Kooi wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >
> >
> http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021641.html
>
> this is rather ugly and counter intuitive for i'll have to change the
> PREFERRED_GCC_VERSION whenever someone decides to change that "4.6+svnr",
> but ok, i'll drop the PR hunk :(
> thanks,
>

Alternate suggestion: do it the way you want to do it and store the recipe
in a local overlay
You might also be able to use amend.inc.

Have fun! Frans

>
> >On 28-07-10 19:39, Bernhard Reutner-Fischer wrote:
> >> 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,
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.5 (Darwin)
> >
> >iD8DBQFMUIbfMkyGM64RGpERAoPYAJ9rxqMp47aGQnPjE6R7GTIMx7CQpgCgmuIa
> >7su2ka+K0cQBaopKy11SRtk=
> >=1Jf8
> >-----END PGP SIGNATURE-----
> >
> >
> >_______________________________________________
> >Openembedded-devel mailing list
> >Openembedded-devel at lists.openembedded.org
> >http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> 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