summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-04-03 11:19:04 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-05 23:19:17 +0100
commit7b7c238b2d6cf8a585afa3a0dfc9bdac111a2a33 (patch)
treeefccd1b2b72e3debdfc1c80cf36e774d8dcc623a /bitbake/lib/bb/cache.py
parentf217b65f124fd81c15d48e2381bf2f575b96da0c (diff)
downloadpoky-7b7c238b2d6cf8a585afa3a0dfc9bdac111a2a33.tar.gz
bitbake: codeparser: improve handling of contains_any() and filter()
Ensure we handle bb.utils.contains_any() as separate items, rather than how we handle contains() where every item must be in the list. Additionally, enable handling bb.utils.filter() which for the purposes of looking at dependencies is the same as contains_any(). Additionally bump the codeparser cache and recipe cache versions to invalidate the user's existing caches (ensuring that the changes take effect and avoiding "taskhash mismatch" errors respectively). (Bitbake rev: 496e3c84820a2a889d99d3604659e47a550941d5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index c04ac13735..28e8a87455 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -37,7 +37,7 @@ import bb.utils
37 37
38logger = logging.getLogger("BitBake.Cache") 38logger = logging.getLogger("BitBake.Cache")
39 39
40__cache_version__ = "150" 40__cache_version__ = "151"
41 41
42def getCacheFile(path, filename, data_hash): 42def getCacheFile(path, filename, data_hash):
43 return os.path.join(path, filename + "." + data_hash) 43 return os.path.join(path, filename + "." + data_hash)