aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-01-04 20:28:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 22:30:21 +0000
commitf9111cc8960b7ecdf7451c275518d4c9cd32750e (patch)
tree76211ca1b8a2afae8634a8c1267d710fbf01952b /lib/bb/event.py
parented9178cc40c7659fda96f628aca5bcd13fd0bc61 (diff)
downloadbitbake-f9111cc8960b7ecdf7451c275518d4c9cd32750e.tar.gz
bitbake-f9111cc8960b7ecdf7451c275518d4c9cd32750e.tar.bz2
bitbake-f9111cc8960b7ecdf7451c275518d4c9cd32750e.zip
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 <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 2acf9b11..0612bd67 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"""