summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-07-26 11:10:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:45:15 +0100
commit9c419271b5cf927924682c3200451979f02409bb (patch)
treedce256d55c945e4b2db93194948fbe7fc217965e /bitbake/lib/bb/cache.py
parent6ed781e0719d8f72238e7451cc206e3f9a76af52 (diff)
downloadpoky-9c419271b5cf927924682c3200451979f02409bb.tar.gz
bitbake: codeparser: Track oe.utils.conditional usage
* base_conditional was already removed from oe-core: http://git.openembedded.org/openembedded-core/commit/?id=0391fcad9103abca0796a068f957d0df63ab4776 after the usage was migrated to oe.utils.conditional: http://git.openembedded.org/openembedded-core/commit/?id=c97acbd034532895ce57c6717ed1b3ccc7900b0d so we can handle just ".conditional" version * add 1st parameter to variable dependencies, that way when you use FOO = "${@oe.utils.conditional('VAR', 'VALUE', 'true', 'false')" FOO variable will have dependency on VAR variable and you don't need to add FOO[vardeps] += "VAR" manually every time you use oe.utils.conditional * this is similar to contains tracking from: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3890 http://git.openembedded.org/bitbake/commit/?id=ed2d0a22a80299de0cfd377999950cf4b26c512e http://git.openembedded.org/bitbake/commit/?id=0b9d117631ce909312d53b93289e61defc6be01c but conditional is simpler, we don't need to handle the first parameter as a set (Bitbake rev: 5156b4bb6876dac636be9726df22c8ee792714dd) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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 168a77ac0c..258d679dc1 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__ = "151" 40__cache_version__ = "152"
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)