mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
bitbake: tinfoil: allow extra features to be passed to prepare
(Bitbake rev: 2e35de1f19dc73a61a18a3eb186efede078d597d) Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
44b3eb65d9
commit
644fbb9aca
@@ -228,12 +228,15 @@ class Tinfoil:
|
|||||||
def __exit__(self, type, value, traceback):
|
def __exit__(self, type, value, traceback):
|
||||||
self.shutdown()
|
self.shutdown()
|
||||||
|
|
||||||
def prepare(self, config_only=False, config_params=None, quiet=0):
|
def prepare(self, config_only=False, config_params=None, quiet=0, extra_features=None):
|
||||||
if self.tracking:
|
if self.tracking:
|
||||||
extrafeatures = [bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING]
|
extrafeatures = [bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING]
|
||||||
else:
|
else:
|
||||||
extrafeatures = []
|
extrafeatures = []
|
||||||
|
|
||||||
|
if extra_features:
|
||||||
|
extrafeatures += extra_features
|
||||||
|
|
||||||
if not config_params:
|
if not config_params:
|
||||||
config_params = TinfoilConfigParameters(config_only=config_only, quiet=quiet)
|
config_params = TinfoilConfigParameters(config_only=config_only, quiet=quiet)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user