summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-03-22 16:59:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 17:54:30 +0000
commit78335c1fbe5266116700c2413aac28b00423a75b (patch)
treee7453282a57b74c434477aa6a27dfc66e42af946 /lib/bb/fetch2/__init__.py
parent238db2e03405d259d48dfc477a276191e6a47698 (diff)
downloadopenembedded-core-contrib-78335c1fbe5266116700c2413aac28b00423a75b.tar.gz
cache: Make BB_DONT_CACHE variable external
This makes it possible to prevent a recipe to be cached, and thus, parsed every time. Use with care. [YOCTO #8853] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index f86014cbf1..5df642e373 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -713,7 +713,7 @@ def subprocess_setup():
def get_autorev(d):
# only not cache src rev in autorev case
if d.getVar('BB_SRCREV_POLICY', True) != "cache":
- d.setVar('__BB_DONT_CACHE', '1')
+ d.setVar('BB_DONT_CACHE', '1')
return "AUTOINC"
def get_srcrev(d, method_name='sortable_revision'):