annotate kernel/make.py @ 297:a6f61e9a9d5c

Added docs requirements
author Windel Bouwman
date Sun, 01 Dec 2013 17:35:54 +0100
parents 9417caea2eb3
children 158068af716c
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
296
9417caea2eb3 Directorized some backend files
Windel Bouwman
parents: 293
diff changeset
8 arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3', 'schedule.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)