summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-03-04 14:02:23 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-07 16:07:00 +0000
commit86aa524667e73772aaf21a1dd1b745ccb28f3a83 (patch)
tree5927d3fe4f7e3260ce12bbee5cf5dd27c90909b2 /bitbake
parentf303c98fda2b14b6d8b16cc21404539e13209c7f (diff)
downloadpoky-86aa524667e73772aaf21a1dd1b745ccb28f3a83.tar.gz
bitbake: command: Add mc parameter to findProviders command
Adds a multiconfig selection parameter to the findProviders command. This allows a client to find the providers for a specific multiconfig instead of the base configuration. (Bitbake rev: 95bb446137734865f3fe04fe97681d90250deb11) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index c8e1352865..b38c151b3d 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -414,7 +414,11 @@ class CommandsSync:
414 getAllAppends.readonly = True 414 getAllAppends.readonly = True
415 415
416 def findProviders(self, command, params): 416 def findProviders(self, command, params):
417 return command.cooker.findProviders() 417 try:
418 mc = params[0]
419 except IndexError:
420 mc = ''
421 return command.cooker.findProviders(mc)
418 findProviders.readonly = True 422 findProviders.readonly = True
419 423
420 def findBestProvider(self, command, params): 424 def findBestProvider(self, command, params):