Create a module called internal where swigged stuff goes.

Rename cc_main to internal.main

--HG--
extra : convert_revision : e938005f600fbf8a43435e29426a948f4501f072
This commit is contained in:
Nathan Binkert
2006-11-12 18:49:16 -08:00
parent 6098f57b08
commit d2d4431752
7 changed files with 35 additions and 32 deletions

View File

@@ -211,7 +211,7 @@ def parse_args():
return opts,args
def main():
import cc_main
import internal
parse_args()
@@ -249,7 +249,7 @@ def main():
print "M5 Simulator System"
print brief_copyright
print
print "M5 compiled %s" % cc_main.cvar.compileDate;
print "M5 compiled %s" % internal.main.cvar.compileDate;
print "M5 started %s" % datetime.now().ctime()
print "M5 executing on %s" % socket.gethostname()
print "command line:",
@@ -264,7 +264,7 @@ def main():
usage(2)
# tell C++ about output directory
cc_main.setOutputDir(options.outdir)
internal.main.setOutputDir(options.outdir)
# update the system path with elements from the -p option
sys.path[0:0] = options.path