From f9111cc8960b7ecdf7451c275518d4c9cd32750e Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 4 Jan 2011 20:28:20 +0000 Subject: 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. (From Poky rev: 3939a216a53f58831e640e85ed95f7edff3ca76f) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- lib/bb/event.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/bb/event.py') diff --git a/lib/bb/event.py b/lib/bb/event.py index 2acf9b119..0612bd67c 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -360,6 +360,16 @@ class TargetsTreeGenerated(Event): Event.__init__(self) self._model = model +class ConfigFilesFound(Event): + """ + Event when a list of appropriate config files has been generated + """ + + def __init__(self, variable, values): + Event.__init__(self) + self._variable = variable + self._values = values + class MsgBase(Event): """Base class for messages""" -- cgit 1.2.3-korg