summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/cache.py2
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 063ab15e1b..af5b9fbc62 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -99,7 +99,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
99 self.timestamp = bb.parse.cached_mtime(filename) 99 self.timestamp = bb.parse.cached_mtime(filename)
100 self.variants = self.listvar('__VARIANTS', metadata) + [''] 100 self.variants = self.listvar('__VARIANTS', metadata) + ['']
101 self.appends = self.listvar('__BBAPPEND', metadata) 101 self.appends = self.listvar('__BBAPPEND', metadata)
102 self.nocache = self.getvar('__BB_DONT_CACHE', metadata) 102 self.nocache = self.getvar('BB_DONT_CACHE', metadata)
103 103
104 self.skipreason = self.getvar('__SKIPPED', metadata) 104 self.skipreason = self.getvar('__SKIPPED', metadata)
105 if self.skipreason: 105 if self.skipreason:
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f86014cbf1..5df642e373 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -713,7 +713,7 @@ def subprocess_setup():
713def get_autorev(d): 713def get_autorev(d):
714 # only not cache src rev in autorev case 714 # only not cache src rev in autorev case
715 if d.getVar('BB_SRCREV_POLICY', True) != "cache": 715 if d.getVar('BB_SRCREV_POLICY', True) != "cache":
716 d.setVar('__BB_DONT_CACHE', '1') 716 d.setVar('BB_DONT_CACHE', '1')
717 return "AUTOINC" 717 return "AUTOINC"
718 718
719def get_srcrev(d, method_name='sortable_revision'): 719def get_srcrev(d, method_name='sortable_revision'):