diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-06-30 23:02:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 17:17:35 +0100 |
commit | 9fe29fd7db125d8f1295086b003d925c255303f4 (patch) | |
tree | 1d89d674c11f264c40c460ff2360b2553b37900a /bitbake/lib/bb/event.py | |
parent | 6769269bea2983a4036a535b3e679e13126318ed (diff) | |
download | openembedded-core-contrib-9fe29fd7db125d8f1295086b003d925c255303f4.tar.gz |
command|cooker|event: add findConfigFilePath command
This takes the name of a .conf file and returns the full path to it
(Bitbake rev: 22c8600b885faf841795b872d82f68dfb644a26e)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 7d47edb9e7..7c49d464dd 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py @@ -399,6 +399,14 @@ class ConfigFilesFound(Event): self._variable = variable self._values = values +class ConfigFilePathFound(Event): + """ + Event when a path for a config file has been found + """ + def __init__(self, path): + Event.__init__(self) + self._path = path + class MsgBase(Event): """Base class for messages""" |