comparison kernel/make.py @ 306:b145f8e6050b

Start on c3 rewrite
author Windel Bouwman
date Mon, 09 Dec 2013 19:00:21 +0100
parents 0615b5308710
children ff665880a6b0
comparison
equal deleted inserted replaced
305:0615b5308710 306:b145f8e6050b
3 import sys 3 import sys
4 import os 4 import os
5 sys.path.insert(0, os.path.join('..', 'python')) 5 sys.path.insert(0, os.path.join('..', 'python'))
6 import zcc 6 import zcc
7 7
8 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3', 'schedule.c3', 'arch_arm.c3'] 8 def make():
9 arglist += ['--target', 'arm'] 9 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3']
10 arglist += ['--dumpasm', '--dumpir'] 10 arglist += ['schedule.c3', 'arch_arm.c3']
11 arglist += ['--log', 'debug'] 11 arglist += ['--target', 'arm']
12 arglist += ['--dumpasm', '--dumpir']
13 arglist += ['--log', 'debug']
12 14
13 args = zcc.parser.parse_args(arglist) 15 args = zcc.parser.parse_args(arglist)
14 zcc.main(args) 16 zcc.main(args)
17
18 if __name__ == '__main__':
19 make()