Skip to contentSkip to conversation

Dongxiao Xu : command.py: add parseConfigurationFiles API

PATCH [email protected] 1 participant 1 message Jan 10, 2012

lore
Share & tools
lore
#0 lore raw
Module: bitbake.git
Branch: master
Commit: 96c307b9874131ad8c7d9caea6f6dfbd09aab9d4
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=96c307b9874131ad8c7d9caea6f6dfbd09aab9d4
Author: Dongxiao Xu <[email protected]>
Date:   Fri Jan  6 17:02:23 2012 +0800

command.py: add parseConfigurationFiles API

The parseConfigurationFiles API calls the related function in cooker.py to parse config files.

---

 lib/bb/command.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
lib/bb/command.py +10 -0
index bd41f54..f236dac 100644
@@ -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