def pre_build(self, bld): '''pre-build hook that gets called before dynamic sources''' from waflib.Context import load_tool module = load_tool('chibios', [], with_sys_path=True) fun = getattr(module, 'pre_build', None) if fun: fun(bld)
def pre_build(self, bld): '''pre-build hook that gets called before dynamic sources''' from waflib.Context import load_tool module = load_tool('chibios', [], with_sys_path=True) fun = getattr(module, 'pre_build', None) if fun: fun(bld) super(chibios, self).pre_build(bld)