rename m5scons.py scons_helper.py
--HG-- extra : convert_revision : faaacc493b8da5d002d498e10cfa8cf004aafeed
This commit is contained in:
parent
cad549d7aa
commit
5ea3c1c8f3
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ import os, os.path, re, sys
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import m5scons
|
import scons_helper
|
||||||
|
|
||||||
def WriteEmbeddedPyFile(target, source, path, name, ext, filename):
|
def WriteEmbeddedPyFile(target, source, path, name, ext, filename):
|
||||||
if isinstance(source, str):
|
if isinstance(source, str):
|
||||||
|
@ -151,7 +151,7 @@ def MakeDefinesPyFile(target, source, env):
|
||||||
f = file(str(target[0]), 'w')
|
f = file(str(target[0]), 'w')
|
||||||
print >>f, "import __main__"
|
print >>f, "import __main__"
|
||||||
print >>f, "__main__.m5_build_env = ",
|
print >>f, "__main__.m5_build_env = ",
|
||||||
print >>f, m5scons.flatten_defines(env['CPPDEFINES'])
|
print >>f, scons_helper.flatten_defines(env['CPPDEFINES'])
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
CFileCounter = 0
|
CFileCounter = 0
|
||||||
|
|
Loading…
Reference in a new issue