summaryrefslogtreecommitdiffstats
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
parentce9e6bad8f9f63687160c300970b49fe2bc50e52 (diff)
downloadpoky-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>
-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 bd41f5418a..f236daceb1 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -337,3 +337,13 @@ class CommandsAsync:
337 else: 337 else:
338 command.finishAsyncCommand() 338 command.finishAsyncCommand()
339 compareRevisions.needcache = True 339 compareRevisions.needcache = True
340
341 def parseConfigurationFiles(self, command, params):
342 """
343 Parse the configuration files
344 """
345 prefiles = params[0]
346 postfiles = params[1]
347 command.cooker.parseConfigurationFiles(prefiles, postfiles)
348 command.finishAsyncCommand()
349 parseConfigurationFiles.needcache = False