コード例 #1
0
 def UseExpanded(cls, node, etype, new_etype):
     val = state.GetEntryArgBool('tpl-dtb')
     tout.do_output(
         tout.INFO if val else tout.DETAIL,
         "Node '%s': etype '%s': %s %sselected" %
         (node.path, etype, new_etype, '' if val else 'not '))
     return val
コード例 #2
0
 def __init__(self, section, etype, node):
     bss_pad = state.GetEntryArgBool('tpl-bss-pad')
     super().__init__(section, etype, node, 'u-boot-tpl', 'u-boot-tpl-dtb',
                      bss_pad)