view kernel/make.py @ 314:38f5f298ce0e

Add log for interference graph
author Windel Bouwman
date Wed, 18 Dec 2013 20:22:20 +0100
parents 04cf4d26a3bc
children 084cccaa5deb
line wrap: on
line source

#!/usr/bin/env python

import sys
import os

def make_kernel():
    import zcc
    arglist = ['memory.c3', 'kernel.c3', 'syscall.c3', 'process.c3']
    arglist += ['schedule.c3', 'arch_arm.c3']
    arglist += ['--target', 'arm']
    arglist += ['--log', 'debug']

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

if __name__ == '__main__':
    sys.path.insert(0, os.path.join('..', 'python'))
    make_kernel()