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:39 +0000 |
commit | 96c307b9874131ad8c7d9caea6f6dfbd09aab9d4 (patch) | |
tree | 25e10cd98f8511a25a1f8681cc51adbe345203aa | |
parent | 2677254cf9792cee083605267570d93b425cc2db (diff) | |
download | bitbake-96c307b9874131ad8c7d9caea6f6dfbd09aab9d4.tar.gz |
command.py: add parseConfigurationFiles API
The parseConfigurationFiles API calls the related function in
cooker.py to parse config files.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/command.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index bd41f5418..f236daceb 100644 --- a/lib/bb/command.py +++ b/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 |