view kernel/make.py @ 293:6aa721e7b10b

Try to improve build sequence
author Windel Bouwman
date Thu, 28 Nov 2013 20:39:37 +0100
parents kernel/make.sh@534b94b40aa8
children 9417caea2eb3
line wrap: on
line source

#!/usr/bin/env python

import sys
import os
sys.path.insert(0, os.path.join('..', 'python'))
import zcc

arglist = ['memory.c3', 'kernel.c3', 'syscall.c3']
arglist += ['--target', 'arm']
arglist += ['--dumpasm']
arglist += ['--log', 'debug']

args = zcc.parser.parse_args(arglist)
zcc.main(args)