[oe] [PATCH] Added a recipe for libmodbus
Radoslav Kolev
radoslav at kolev.info
Sat Mar 26 17:33:08 UTC 2011
On Sat, Mar 26, 2011 at 7:08 PM, Koen Kooi <koen at dominion.thruhere.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 26-03-11 17:50, Radoslav Kolev wrote:
>
>> +++ b/recipes/libmodbus/libmodbus_git.bb
>> @@ -0,0 +1,11 @@
>> +require libmodbus.inc
>> +
>> +SRCREV = "6254ede9156095ee0300"
>> +
>> +PR = "${INC_PR}.1"
>
> That's missing a PV = 1.2 or similar
Ah, OK. Just I'm not sure what that value should be.
So, the libmodbus project releases two tarballs - stable and
development. Now stable is at 2.0.3, and I made a separate recipe for
it.
I didn't make a recipe for the current development tarball (now at
2.9.3), but instead added this _git recipe for which the SRCREV points
to the top of the master branch as of today. It is not tagged with any
numeric release version. My intention being to be used by people who
want to test the bleeding edge, and for this reason added the
DEFAULT_PREFERENCE = "-1" to it, so it has to be explicitly selected.
This is the first recipe I submit, so I don't know exactly what is the
official policy for beta/trunk versions of software.
In this case when we have two releases - stable and dev tarballs and a
git repository what would you advise to do?
Best regads,
Radoslav Kolev
More information about the Openembedded-devel
mailing list