[yocto] [meta-raspberrypi][PATCH 1/6] linux-raspberrypi: Allow override of PV
Paul Barker
paul at paulbarker.me.uk
Mon May 30 01:11:28 PDT 2016
On Sun, 29 May 2016 21:20:21 +0300
Khem Raj <raj.khem at gmail.com> wrote:
> On May 29, 2016 9:00 AM, "Paul Barker" <paul at paulbarker.me.uk> wrote:
> >
> > PV is now set in each version of the linux-raspberrypi recipe
> > instead of
> in
> > linux-raspberrypi.inc. This allows linux-raspberrypi.inc to be used
> > in
> custom
> > kernel recipes in another layer which require a different PV value.
>
> You can also use weak define. Instead of duplicated value in each
> recipe
Weak define doesn't work here as PV is already weakly defined based on
the recipe filename and that's what we're trying to override. We end up
with PV values like "4.1" instead of "4.1.21+git..." if "?=" is used.
Thanks,
Paul Barker
More information about the yocto
mailing list