projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa147a
)
python: fix m5.build_env variable.
author
Nathan Binkert
<nate@binkert.org>
Thu, 2 Aug 2007 21:12:53 +0000
(14:12 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Thu, 2 Aug 2007 21:12:53 +0000
(14:12 -0700)
As it is now, some objects will get the incorrect value depending where they
were defined.
--HG--
extra : convert_revision :
a11a14842f9524739cbf54a48be6ec051f371200
src/python/m5/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/m5/__init__.py
b/src/python/m5/__init__.py
index 36f2eba61efcab6c1d513c449a535c1ff2ad741c..96cb2ca13c312a3784e55361f6766f564cdede60 100644
(file)
--- a/
src/python/m5/__init__.py
+++ b/
src/python/m5/__init__.py
@@
-81,11
+81,6
@@
try:
except ImportError:
running_m5 = False
-if running_m5:
- from event import *
- from simulate import *
- from main import options
-
if running_m5:
import defines
build_env.update(defines.m5_build_env)
@@
-93,6
+88,11
@@
else:
import __scons
build_env.update(__scons.m5_build_env)
+if running_m5:
+ from event import *
+ from simulate import *
+ from main import options
+
import SimObject
import params
import objects