diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-22 16:22:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-25 23:46:55 +0100 |
commit | f1fce69766576ab62bfc5919af2af04028180950 (patch) | |
tree | 6459c866dee8debbdc0dac75e77f92718fe116ea /meta | |
parent | 5e8cf6e568ab90365894478a272b5c28dc941031 (diff) | |
download | openembedded-core-f1fce69766576ab62bfc5919af2af04028180950.tar.gz openembedded-core-f1fce69766576ab62bfc5919af2af04028180950.tar.bz2 openembedded-core-f1fce69766576ab62bfc5919af2af04028180950.zip |
linux-yocto-dev: Ensure we don't reparse the recipe when its not being used (take 2)
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-dev.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 3085263453..c7773506a6 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb @@ -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") } |