Mercurial > lcfOS
diff python/ppci/recipe.py @ 367:577ed7fb3fe4
Try to make thumb work again
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 10:27:57 +0100 |
parents | 39bf68bf1891 |
children | 9667d78ba79e |
line wrap: on
line diff
--- a/python/ppci/recipe.py Fri Mar 21 09:43:01 2014 +0100 +++ b/python/ppci/recipe.py Fri Mar 21 10:27:57 2014 +0100 @@ -31,7 +31,10 @@ def handle_compile(self, value): sources = [self.openfile(s) for s in value['sources']] - includes = [self.openfile(i) for i in value['includes']] + if 'includes' in value: + includes = [self.openfile(i) for i in value['includes']] + else: + includes = [] target = targets[value['machine']] output = ObjectFile() task = Compile(sources, includes, target, output)