SCons: Fixing SCons bug 2006 issues for non-alpha ISAs
--HG-- extra : convert_revision : 26e3edef06d6f82aaf162825c151d18faadd6e72
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -54,3 +54,5 @@ else:
|
||||
Dir('linux')
|
||||
if env['TARGET_ISA'] == 'alpha':
|
||||
Dir('tru64')
|
||||
elif env['TARGET_ISA'] == 'sparc':
|
||||
Dir('solaris')
|
||||
|
||||
Reference in New Issue
Block a user