diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-01-04 20:28:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-24 15:54:51 +0000 |
commit | 3939a216a53f58831e640e85ed95f7edff3ca76f (patch) | |
tree | 897568c0cd94bc1c624a5480644387eab0213b18 /bitbake/lib/bb/event.py | |
parent | 1b3eb0c35f504e8f652303a4b238034ecc5c5d02 (diff) | |
download | poky-3939a216a53f58831e640e85ed95f7edff3ca76f.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 064848baef..504a310663 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -359,6 +359,16 @@ class TargetsTreeGenerated(Event): | |||
359 | Event.__init__(self) | 359 | Event.__init__(self) |
360 | self._model = model | 360 | self._model = model |
361 | 361 | ||
362 | class ConfigFilesFound(Event): | ||
363 | """ | ||
364 | Event when a list of appropriate config files has been generated | ||
365 | """ | ||
366 | |||
367 | def __init__(self, variable, values): | ||
368 | Event.__init__(self) | ||
369 | self._variable = variable | ||
370 | self._values = values | ||
371 | |||
362 | class MsgBase(Event): | 372 | class MsgBase(Event): |
363 | """Base class for messages""" | 373 | """Base class for messages""" |
364 | 374 | ||