Mercurial > lcfOS
annotate kernel/make.py @ 295:917eab04b8b7
Added disasm
author | Windel Bouwman |
---|---|
date | Thu, 28 Nov 2013 21:10:32 +0100 |
parents | 6aa721e7b10b |
children | 9417caea2eb3 |
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 |
293 | 8 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3'] |
9 arglist += ['--target', 'arm'] | |
10 arglist += ['--dumpasm'] | |
11 arglist += ['--log', 'debug'] | |
283 | 12 |
293 | 13 args = zcc.parser.parse_args(arglist) |
14 zcc.main(args) |