Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)