]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto-dev: Ensure we don't reparse the recipe when its not being used (take 2)
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jul 2016 15:22:12 +0000 (16:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:46:55 +0000 (23:46 +0100)
The use of the ${AUTOREV} variable means bitbake would always re-parse the
recipe. This isn't desirable when its disabled so undo the always parsing
flag in this case.

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

index 30852634535e8d628321fefac81f2a04d338ba41..c7773506a636b30021aab3c62da29346ef71e966 100644 (file)
@@ -19,6 +19,7 @@ include recipes-kernel/linux/linux-yocto-dev-revisions.inc
 # by the use of AUTOREV SRCREVs, which are the default for this recipe.
 python () {
     if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-yocto-dev":
+        d.delVar("BB_DONT_CACHE")
         raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-dev to enable it")
 }