def DoGenerate(self, platformContext: PlatformContext, config: Config,
                packages: List[Package]) -> List[Package]:
     generator = GeneratorGNUmakefile(config, packages, "GNUmakefile_Yocto",
                                      "GNUmakefile_Yocto_exe",
                                      "GNUmakefile_Yocto_lib", self.Name)
     # FslBuild handles this now so the scripts are not needed
     #GenerateBuildScript.GenerateBuildScriptAll(config, packages)
     return self.GenerateDone(config, packages, self.Name, generator)
Exemple #2
0
 def DoGenerate(self, platformContext: PlatformContext, config: Config,
                packages: List[Package]) -> List[Package]:
     configVariant = self.GeneratorVariants[ToolAddedVariant.CONFIG]
     generator = GeneratorGNUmakefile(config, packages, "GNUmakefile",
                                      "GNUmakefile_exe", "GNUmakefile_lib",
                                      self.Name, configVariant.Options)
     # FslBuild handles this now so the scripts are not needed
     #GenerateBuildScript.GenerateBuildScriptAll(config, packages)
     return self.GenerateDone(config, packages, self.Name, generator)
Exemple #3
0
    def DoGenerate(self, platformContext: PlatformContext, config: Config,
                   packages: List[Package]) -> List[Package]:
        dstMakeFilename = self.MakeFilename
        templateExe = "{0}_exe".format(self.MakeFilename)
        templateLib = "{0}_lib".format(self.MakeFilename)

        configVariant = self.GeneratorVariants[ToolAddedVariant.CONFIG]
        generator = GeneratorGNUmakefile(config, packages, dstMakeFilename,
                                         templateExe, templateLib,
                                         self.PlatformName,
                                         configVariant.Options)
        return self.GenerateDone(config, packages, self.PlatformName,
                                 generator)