Mercurial > lcfOS
diff python/ppci/buildtasks.py @ 335:582a1aaa3983
Added long branch format
author | Windel Bouwman |
---|---|
date | Mon, 17 Feb 2014 20:41:30 +0100 |
parents | 6f4753202b9a |
children | d1ecc493384e |
line wrap: on
line diff
--- a/python/ppci/buildtasks.py Thu Feb 13 22:02:08 2014 +0100 +++ b/python/ppci/buildtasks.py Mon Feb 17 20:41:30 2014 +0100 @@ -17,6 +17,7 @@ from .linker import Linker import outstream + class BuildTask(Task): """ Base task for all kind of weird build tasks """ def __init__(self, name): @@ -71,7 +72,7 @@ # Code generation: d = {'ircode':ircode} self.logger.debug('Starting code generation for {}'.format(ircode), extra=d) - o = outstream.TextOutputStream() + o = outstream.BinaryOutputStream(self.output) cg.generate(ircode, o) if not c3b.ok: @@ -88,10 +89,6 @@ self.duration = 0.1337 def run(self): - print('LNK') - print('LNK', self.objects) - print('LNK') - print('LNK') self.linker.link(self.objects)