annotate kernel/make.py @ 300:158068af716c

yafm
author Windel Bouwman
date Tue, 03 Dec 2013 18:00:22 +0100
parents 9417caea2eb3
children 0615b5308710
rev   line source
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
1 #!/usr/bin/env python
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
2
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
3 import sys
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
4 import os
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
5 sys.path.insert(0, os.path.join('..', 'python'))
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
6 import zcc
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
7
300
Windel Bouwman
parents: 296
diff changeset
8 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3', 'schedule.c3', 'arch_arm.c3']
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
9 arglist += ['--target', 'arm']
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
10 arglist += ['--dumpasm']
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
11 arglist += ['--log', 'debug']
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
12
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
13 args = zcc.parser.parse_args(arglist)
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 292
diff changeset
14 zcc.main(args)