projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25aac79
)
scons: import ply to work around scons sys.path weirdness
author
Nathan Binkert
<nate@binkert.org>
Wed, 10 Mar 2010 23:39:34 +0000
(15:39 -0800)
committer
Nathan Binkert
<nate@binkert.org>
Wed, 10 Mar 2010 23:39:34 +0000
(15:39 -0800)
src/arch/SConscript
patch
|
blob
|
history
diff --git
a/src/arch/SConscript
b/src/arch/SConscript
index adbf4c292118668bcf31e2e47219c71c55054cc7..10ed03c3d5ceff8a788eb53e6d25b496a98e2fec 100644
(file)
--- a/
src/arch/SConscript
+++ b/
src/arch/SConscript
@@
-107,6
+107,9
@@
def isa_desc_emitter(target, source, env):
ARCH_DIR = Dir('.')
+# import ply here because SCons screws with sys.path when performing actions.
+import ply
+
def isa_desc_action(target, source, env):
# Add the current directory to the system path so we can import files
sys.path[0:0] = [ ARCH_DIR.srcnode().abspath ]