summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index ab09b08b58..521f758282 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -85,8 +85,8 @@ class RecipeInfoCommon(object):
85 return out_dict 85 return out_dict
86 86
87 @classmethod 87 @classmethod
88 def getvar(cls, var, metadata): 88 def getvar(cls, var, metadata, expand = True):
89 return metadata.getVar(var, True) or '' 89 return metadata.getVar(var, expand) or ''
90 90
91 91
92class CoreRecipeInfo(RecipeInfoCommon): 92class CoreRecipeInfo(RecipeInfoCommon):
@@ -142,7 +142,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
142 self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata) 142 self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
143 self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata) 143 self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
144 self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata) 144 self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata)
145 self.inherits = self.getvar('__inherit_cache', metadata) 145 self.inherits = self.getvar('__inherit_cache', metadata, expand=False)
146 self.fakerootenv = self.getvar('FAKEROOTENV', metadata) 146 self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
147 self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata) 147 self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
148 self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata) 148 self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)