[OE-core] [PATCH] base.bbclass: add SRCREV to do_fetch() hash

Burton, Ross ross.burton at intel.com
Mon Sep 29 14:56:44 UTC 2014


On 29 September 2014 15:52, Maciej Borzecki <maciej.borzecki at open-rnd.pl> wrote:
> So a trick like this will not be needed anymore to automatically rebuild
> whenever sources in SCM change?
>
> SRCREV = "${AUTOREV}"
> PVBASE := "${PV}"
> PV = "${PVBASE}.${SRCPV}"

That's right, you don't need to embed SRCREV in PV to get a rebuild.
For many recipes it's still a sensible thing to do, but it won't be
mandatory.

Ross



More information about the Openembedded-core mailing list