diff kernel/make.py @ 313:04cf4d26a3bc

Added constant function
author Windel Bouwman
date Wed, 18 Dec 2013 18:02:26 +0100
parents 2c9768114877
children 084cccaa5deb
line wrap: on
line diff
--- a/kernel/make.py	Mon Dec 16 17:58:15 2013 +0100
+++ b/kernel/make.py	Wed Dec 18 18:02:26 2013 +0100
@@ -4,10 +4,10 @@
 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 += ['--dumpasm', '--dumpir']
     arglist += ['--log', 'debug']
 
     args = zcc.parser.parse_args(arglist)
@@ -15,5 +15,4 @@
 
 if __name__ == '__main__':
     sys.path.insert(0, os.path.join('..', 'python'))
-    import zcc
     make_kernel()