SCons: Fixing SCons bug 2006 issues for non-alpha ISAs
authorStephen Hines <hines@cs.fsu.edu>
Tue, 20 May 2008 18:04:53 +0000 (14:04 -0400)
committerStephen Hines <hines@cs.fsu.edu>
Tue, 20 May 2008 18:04:53 +0000 (14:04 -0400)
--HG--
extra : convert_revision : 26e3edef06d6f82aaf162825c151d18faadd6e72

src/arch/mips/SConscript
src/arch/sparc/SConscript
src/kern/SConscript

index 8be445c99dbc4ec35b02b710926d21a607a6d168..844e7ba156c2f1afc27ecd34275f35fdefefd138 100644 (file)
@@ -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')
index a86c00250ff1ca7b33a462dbf22b232406cf0809..d4d68a6bd1af7373320d1008e3a7820789fb3bd3 100644 (file)
 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')
index fd1181710bfc48cc6068615c45e6df8d40da22f6..43848aadaf5416798e65dda6bba1e02e5e07e3ad 100644 (file)
@@ -54,3 +54,5 @@ else:
     Dir('linux')
     if env['TARGET_ISA'] == 'alpha':
         Dir('tru64')
+    elif env['TARGET_ISA'] == 'sparc':
+        Dir('solaris')