def execute(self, base_tree, patches, config, config_list = None): kernel = self.job.kernel(base_tree, self.outputdir) if patches: kernel.patch(*patches) kernel.config(config, config_list) kernel.build()
def execute(self, base_tree, patches, config, config_list = None): kernel = self.job.kernel(base_tree, self.resultsdir) kernel.patch(patches) kernel.config(config, config_list) os.environ['PATH'] = self.srcdir + ':' + os.environ['PATH'] results = os.path.join (self.resultsdir, 'sparse') kernel.build(make_opts = 'C=1', logfile = results)