Mercurial > lcfOS
annotate kernel/make.py @ 309:68b01c8abf8a
Added start of ir read and write
author | Windel Bouwman |
---|---|
date | Fri, 13 Dec 2013 13:51:02 +0100 |
parents | b145f8e6050b |
children | ff665880a6b0 |
rev | line source |
---|---|
293 | 1 #!/usr/bin/env python |
2 | |
3 import sys | |
4 import os | |
5 sys.path.insert(0, os.path.join('..', 'python')) | |
6 import zcc | |
283 | 7 |
306 | 8 def make(): |
9 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3'] | |
10 arglist += ['schedule.c3', 'arch_arm.c3'] | |
11 arglist += ['--target', 'arm'] | |
12 arglist += ['--dumpasm', '--dumpir'] | |
13 arglist += ['--log', 'debug'] | |
283 | 14 |
306 | 15 args = zcc.parser.parse_args(arglist) |
16 zcc.main(args) | |
17 | |
18 if __name__ == '__main__': | |
19 make() |