Mercurial > lcfOS
comparison python/zcc.py @ 355:c2ddc8a36f5e
Enabled optimization
author | Windel Bouwman |
---|---|
date | Fri, 14 Mar 2014 10:30:13 +0100 |
parents | 442fb043d149 |
children | 39bf68bf1891 |
comparison
equal
deleted
inserted
replaced
354:5477e499b039 | 355:c2ddc8a36f5e |
---|---|
68 if args.command == 'compile': | 68 if args.command == 'compile': |
69 tg = targets[args.target] | 69 tg = targets[args.target] |
70 output = ObjectFile() | 70 output = ObjectFile() |
71 runner.add_task(Compile(args.source, args.imp, tg, output)) | 71 runner.add_task(Compile(args.source, args.imp, tg, output)) |
72 elif args.command == 'recipe': | 72 elif args.command == 'recipe': |
73 recipe_loader = RecipeLoader() | 73 recipe_loader = RecipeLoader(runner) |
74 recipe_loader.load_file(args.recipe_file, runner) | 74 recipe_loader.load_file(args.recipe_file) |
75 else: | 75 else: |
76 raise NotImplementedError('Invalid option') | 76 raise NotImplementedError('Invalid option') |
77 | 77 |
78 if args.display_build_steps: | 78 if args.display_build_steps: |
79 runner.display() | 79 runner.display() |