diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-01-06 17:02:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-06 16:01:44 +0000 |
commit | 468998cddbe1a803096c9b357e1b5daa3b7e8c2e (patch) | |
tree | 4b35e559840c121c6855f01395c0070eb01280e5 /bitbake/lib/bb/command.py | |
parent | ce9e6bad8f9f63687160c300970b49fe2bc50e52 (diff) | |
download | openembedded-core-contrib-468998cddbe1a803096c9b357e1b5daa3b7e8c2e.tar.gz |
command.py: add parseConfigurationFiles API
The parseConfigurationFiles API calls the related function in
cooker.py to parse config files.
(Bitbake rev: 96c307b9874131ad8c7d9caea6f6dfbd09aab9d4)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index bd41f5418a..f236daceb1 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -337,3 +337,13 @@ class CommandsAsync: else: command.finishAsyncCommand() compareRevisions.needcache = True + + def parseConfigurationFiles(self, command, params): + """ + Parse the configuration files + """ + prefiles = params[0] + postfiles = params[1] + command.cooker.parseConfigurationFiles(prefiles, postfiles) + command.finishAsyncCommand() + parseConfigurationFiles.needcache = False |