diff options
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 928333a500..563c0c4d82 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -228,12 +228,15 @@ class Tinfoil: | |||
228 | def __exit__(self, type, value, traceback): | 228 | def __exit__(self, type, value, traceback): |
229 | self.shutdown() | 229 | self.shutdown() |
230 | 230 | ||
231 | def prepare(self, config_only=False, config_params=None, quiet=0): | 231 | def prepare(self, config_only=False, config_params=None, quiet=0, extra_features=None): |
232 | if self.tracking: | 232 | if self.tracking: |
233 | extrafeatures = [bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING] | 233 | extrafeatures = [bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING] |
234 | else: | 234 | else: |
235 | extrafeatures = [] | 235 | extrafeatures = [] |
236 | 236 | ||
237 | if extra_features: | ||
238 | extrafeatures += extra_features | ||
239 | |||
237 | if not config_params: | 240 | if not config_params: |
238 | config_params = TinfoilConfigParameters(config_only=config_only, quiet=quiet) | 241 | config_params = TinfoilConfigParameters(config_only=config_only, quiet=quiet) |
239 | 242 | ||