diff options
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 599f15c00f..8eea482a2d 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -75,6 +75,9 @@ recipe_fields = ( | |||
75 | 'basetaskhashes', | 75 | 'basetaskhashes', |
76 | 'hashfilename', | 76 | 'hashfilename', |
77 | 'inherits', | 77 | 'inherits', |
78 | 'summary', | ||
79 | 'license', | ||
80 | 'section', | ||
78 | ) | 81 | ) |
79 | 82 | ||
80 | 83 | ||
@@ -166,6 +169,9 @@ class RecipeInfo(namedtuple('RecipeInfo', recipe_fields)): | |||
166 | rdepends_pkg = cls.pkgvar('RDEPENDS', packages, metadata), | 169 | rdepends_pkg = cls.pkgvar('RDEPENDS', packages, metadata), |
167 | rrecommends_pkg = cls.pkgvar('RRECOMMENDS', packages, metadata), | 170 | rrecommends_pkg = cls.pkgvar('RRECOMMENDS', packages, metadata), |
168 | inherits = cls.getvar('__inherit_cache', metadata), | 171 | inherits = cls.getvar('__inherit_cache', metadata), |
172 | summary = cls.getvar('SUMMARY', metadata), | ||
173 | license = cls.getvar('LICENSE', metadata), | ||
174 | section = cls.getvar('SECTION', metadata), | ||
169 | ) | 175 | ) |
170 | 176 | ||
171 | 177 | ||
@@ -575,6 +581,9 @@ class CacheData(object): | |||
575 | self.basetaskhash = {} | 581 | self.basetaskhash = {} |
576 | self.hashfn = {} | 582 | self.hashfn = {} |
577 | self.inherits = {} | 583 | self.inherits = {} |
584 | self.summary = {} | ||
585 | self.license = {} | ||
586 | self.section = {} | ||
578 | 587 | ||
579 | # Indirect Cache variables (set elsewhere) | 588 | # Indirect Cache variables (set elsewhere) |
580 | self.ignored_dependencies = [] | 589 | self.ignored_dependencies = [] |
@@ -635,3 +644,6 @@ class CacheData(object): | |||
635 | self.basetaskhash[identifier] = taskhash | 644 | self.basetaskhash[identifier] = taskhash |
636 | 645 | ||
637 | self.inherits[fn] = info.inherits | 646 | self.inherits[fn] = info.inherits |
647 | self.summary[fn] = info.summary | ||
648 | self.license[fn] = info.license | ||
649 | self.section[fn] = info.section | ||