summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorStephen Hines <hines@cs.fsu.edu>2008-05-20 14:04:53 -0400
committerStephen Hines <hines@cs.fsu.edu>2008-05-20 14:04:53 -0400
commitb7af65f414d34cb6b3817bc748fd053f505b0fea (patch)
treed315b05d46d67adb4f66d3fc881d90aaeca3f06f /src/arch
parente71a5270a2fe040e0542bc2c74a11a303688f6ae (diff)
downloadgem5-b7af65f414d34cb6b3817bc748fd053f505b0fea.tar.xz
SCons: Fixing SCons bug 2006 issues for non-alpha ISAs
--HG-- extra : convert_revision : 26e3edef06d6f82aaf162825c151d18faadd6e72
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/mips/SConscript3
-rw-r--r--src/arch/sparc/SConscript4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/mips/SConscript b/src/arch/mips/SConscript
index 8be445c99..844e7ba15 100644
--- a/src/arch/mips/SConscript
+++ b/src/arch/mips/SConscript
@@ -33,6 +33,9 @@
Import('*')
if env['TARGET_ISA'] == 'mips':
+# Workaround for bug in SCons version > 0.97d20071212
+# Scons bug id: 2006 M5 Bug id: 308
+ Dir('isa/formats')
Source('faults.cc')
Source('regfile/int_regfile.cc')
Source('regfile/float_regfile.cc')
diff --git a/src/arch/sparc/SConscript b/src/arch/sparc/SConscript
index a86c00250..d4d68a6bd 100644
--- a/src/arch/sparc/SConscript
+++ b/src/arch/sparc/SConscript
@@ -32,6 +32,10 @@
Import('*')
if env['TARGET_ISA'] == 'sparc':
+# Workaround for bug in SCons version > 0.97d20071212
+# Scons bug id: 2006 M5 Bug id: 308
+ Dir('isa/formats')
+ Dir('isa/formats/mem')
Source('asi.cc')
Source('faults.cc')
Source('floatregfile.cc')