diff -r 34d87ffcc373 -r ea23b18a2ff6 sbsv2/raptor/python/raptor_meta.py --- a/sbsv2/raptor/python/raptor_meta.py Wed Nov 18 21:50:36 2009 +0000 +++ b/sbsv2/raptor/python/raptor_meta.py Thu Nov 19 18:52:19 2009 +0000 @@ -2502,7 +2502,7 @@ self.defaultPlatform = self.ExportPlatforms[0] - def ReadBldInfFiles(self, aComponentList, doExportOnly): + def ReadBldInfFiles(self, aComponentList, doexport, dobuild = True): """Take a list of bld.inf files and return a list of build specs. The returned specification nodes will be suitable for all the build @@ -2582,20 +2582,21 @@ # before we can do anything else (because raptor itself must do # some exports before the MMP files that include them can be # processed). - for i,p in enumerate(exportNodes): - exportPlatform = self.ExportPlatforms[i] - for s in p.GetChildSpecs(): - try: - self.ProcessExports(s, exportPlatform) - - except MetaDataError, e: - self.__Raptor.Error("%s",e.Text) - if not self.__Raptor.keepGoing: - return [] + if doexport: + for i,p in enumerate(exportNodes): + exportPlatform = self.ExportPlatforms[i] + for s in p.GetChildSpecs(): + try: + self.ProcessExports(s, exportPlatform) + + except MetaDataError, e: + self.__Raptor.Error("%s",e.Text) + if not self.__Raptor.keepGoing: + return [] # this is a switch to return the function at this point if export # only option is specified in the run - if (self.__Raptor.doExportOnly): + if dobuild is not True: self.__Raptor.Info("Processing Exports only") return[]