bitbake: implement command to find configuration files for a config variable

Some configuration variables (MACHINE, MACHINE-SDK and DISTRO) set which
confguration files bitbake should use.
The added command , findConfigFiles, enables a UI to query which files are
suitable values for a specified parameter.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock
2011-01-04 20:28:20 +00:00
committed by Richard Purdie
parent 1b3eb0c35f
commit 3939a216a5
3 changed files with 45 additions and 0 deletions

View File

@@ -232,6 +232,17 @@ class CommandsAsync:
command.finishAsyncCommand()
generateTargetsTree.needcache = True
def findConfigFiles(self, command, params):
"""
Find config files which provide appropriate values
for the passed configuration variable. i.e. MACHINE
"""
varname = params[0]
command.cooker.findConfigFiles(varname)
command.finishAsyncCommand()
findConfigFiles.needcache = True
def showVersions(self, command, params):
"""
Show the currently selected versions