/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_buildsys.py | 29 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument 35 values = CmakeRecipeHandler.extract_cmake_deps(lines_before, srctree, extravalues) 38 lines_before.append('%s = "%s"' % (var, value)) 342 lines_before.append('%s = "%s"' % (var, value)) 370 lines_before.append('') 373 lines_before.append('# inherit line') 758 lines_before.append('%s = "%s"' % (var, value)) 759 lines_before.append('') 858 for i, line in enumerate(lines_before): 860 lines_before.insert(i, liccomment) [all …]
|
H A D | create_go.py | 660 def process(self, srctree, classes, lines_before, argument 714 lines_before.append("require %s-licenses.inc" % (pn)) 719 lines_before.append("require %s-modules.inc" % (pn)) 723 self.__rewrite_lic_uri(lines_before) 725 lines_before.append("GO_IMPORT = \"{}\"".format(baseurl)) 726 lines_before.append("SRCREV_FORMAT = \"${BPN}\"") 730 del lines_before[:] 735 lines_before.append(line) 738 def __rewrite_lic_uri(self, lines_before): argument 762 lines_before, ['LIC_FILES_CHKSUM'], varfunc) [all …]
|
H A D | create.py | 660 lines_before = [] 667 lines_before.append('') 714 lines_before.append('') 733 lines_before.append('') 739 lines_before.append('') 829 lines = lines_before 830 lines_before = [] 852 lines_before.append(line) 880 outlines.extend(lines_before) 1036 lines_before.extend(lines) [all …]
|
H A D | create_npm.py | 167 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument 194 registry = self._get_registry(lines_before) 257 (_, newlines) = bb.utils.edit_metadata(lines_before, ["SRC_URI"], _handle_srcuri) 258 lines_before[:] = [line.rstrip('\n') for line in newlines]
|
H A D | create_kernel.py | 22 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument 84 lines_before[:] = [line.rstrip('\n') for line in newlines]
|
H A D | create_buildsys_python.py | 571 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument 662 for i, line in enumerate(lines_before): 664 … lines_before.insert(i, '# NOTE: License in setup.py/PKGINFO is: %s' % license_str) 802 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument 894 for i, line in enumerate(lines_before): 896 lines_before.insert( 922 pos = lines_before.index("##LICENSE_PLACEHOLDER##") 926 lines_before.extend(lines) 928 lines_before[pos : pos + 1] = lines
|
H A D | create_kmod.py | 22 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): argument
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | parselogs.py | 138 def parse_logs(self, logs, lines_before=10, lines_after=10): argument 158 … results[log][line] = "".join(self.get_context(lines, i, lines_before, lines_after))
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | recipetool.py | 1083 lines_before = [] 1085 licvalues = handle_license_vars(srctree, lines_before, handled, extravalues, d) 1106 self.assertEqual(lines_before, expected_lines_before)
|