Mercurial > lcfOS
annotate kernel/make.py @ 322:44f336460c2a
Half of use of burg spec for arm
author | Windel Bouwman |
---|---|
date | Mon, 27 Jan 2014 19:58:07 +0100 |
parents | 084cccaa5deb |
children |
rev | line source |
---|---|
293 | 1 #!/usr/bin/env python |
2 | |
3 import sys | |
4 import os | |
283 | 5 |
315 | 6 def make_kernel(args=[]): |
313 | 7 import zcc |
306 | 8 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3'] |
9 arglist += ['schedule.c3', 'arch_arm.c3'] | |
10 arglist += ['--target', 'arm'] | |
315 | 11 arglist += args |
283 | 12 |
306 | 13 args = zcc.parser.parse_args(arglist) |
14 zcc.main(args) | |
15 | |
16 if __name__ == '__main__': | |
311 | 17 sys.path.insert(0, os.path.join('..', 'python')) |
315 | 18 make_kernel(sys.argv[1:]) |