]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto-dev: Dynamic SRCREV update
authorDarren Hart <dvhart@linux.intel.com>
Fri, 23 May 2014 16:57:59 +0000 (09:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 May 2014 07:32:23 +0000 (08:32 +0100)
commita0334b0de654a41c53df54ef80625094368113f6
treefc59bbc2986790611de6fc5cf945d2ee9d188156
parent574c03bd5fd73281472f8267a31cfecb235f1c65
linux-yocto-dev: Dynamic SRCREV update

The current implementation would result in the default SRCREVs being
used by the fetcher, even though the anonymous python would update them
to AUTOREV. This appears to be something to do with early parsing
bitbake black magic.

This patch ensures the default is never assigned if we are actually
building the recipe by using a function to assign it in the first place.

The USE_DEFAULT* variables are removed as they are not necessary to
allow for overriding the SRCREVs.

The anonymous python parse check is moved closer to the top of the
recipe to be a bit more logically representative of its intended
purpose.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-dev.bb