From 468998cddbe1a803096c9b357e1b5daa3b7e8c2e Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 6 Jan 2012 17:02:23 +0800 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/command.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3-54-g00ecf