test/genini.py:
import m5config after environment variables are setup so
the behaviour is more like that of the simulator and so
what are normally compile-time variables like FULL_SYSTEM
can be properly set from the command line.
--HG--
extra : convert_revision :
1951d3015b091338724b66a3a86a818f9ac97b26
sys.path.append(joinpath(mypath, '../sim/pyconfig'))
from importer import AddToPath, LoadMpyFile
-from m5config import *
AddToPath('.')
else:
name = arg[:offset]
value = arg[offset+1:]
- env[name] = value
+ os.environ[name] = value
if opt == '-I':
AddToPath(arg)
except getopt.GetoptError:
sys.exit('Improper Usage')
+from m5config import *
+
for arg in args:
LoadMpyFile(arg)