diff python/zcc.py @ 366:39bf68bf1891

Fix sample tests and deterministic build
author Windel Bouwman
date Fri, 21 Mar 2014 09:43:01 +0100
parents c2ddc8a36f5e
children 9667d78ba79e
line wrap: on
line diff
--- a/python/zcc.py	Wed Mar 19 22:32:04 2014 +0100
+++ b/python/zcc.py	Fri Mar 21 09:43:01 2014 +0100
@@ -9,7 +9,7 @@
 from ppci.tasks import TaskRunner
 from ppci.report import RstFormatter
 from ppci.objectfile import ObjectFile
-from ppci.target.target_list import target_list
+from ppci.target.target_list import targets, targetnames
 from ppci.recipe import RecipeLoader
 import ppci
 
@@ -22,9 +22,6 @@
     return numeric_level
 
 
-targets = {t.name: t for t in target_list}
-targetnames = list(targets.keys())
-
 def make_parser():
     parser = argparse.ArgumentParser(description='lcfos Compiler')