From patchwork Thu Dec 15 07:14:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,05/10] command.py: add parseConfigurationFiles API Date: Thu, 15 Dec 2011 07:14:56 -0000 From: Dongxiao Xu X-Patchwork-Id: 16973 Message-Id: <8e83df28de6dd4cb27667d37d89c94d9da26d2f8.1323933009.git.dongxiao.xu@intel.com> To: bitbake-devel@lists.openembedded.org The parseConfigurationFiles API calls the related function in cooker.py to parse config files. Signed-off-by: Dongxiao Xu --- 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 701b286..6b4a598 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -326,3 +326,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