summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-01-06 17:02:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-06 16:01:44 +0000
commit468998cddbe1a803096c9b357e1b5daa3b7e8c2e (patch)
tree4b35e559840c121c6855f01395c0070eb01280e5 /bitbake
parentce9e6bad8f9f63687160c300970b49fe2bc50e52 (diff)
downloadast2050-yocto-poky-468998cddbe1a803096c9b357e1b5daa3b7e8c2e.zip
ast2050-yocto-poky-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')
-rw-r--r--bitbake/lib/bb/command.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index bd41f54..f236dac 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
OpenPOWER on IntegriCloud