SCons: Fix more SCons version issues
This commit is contained in:
parent
87f981e208
commit
fd3e661cd3
2 changed files with 18 additions and 0 deletions
|
@ -353,3 +353,17 @@ if env['TARGET_ISA'] == 'x86':
|
||||||
# Only non-header files need to be compiled.
|
# Only non-header files need to be compiled.
|
||||||
if not f.path.endswith('.hh'):
|
if not f.path.endswith('.hh'):
|
||||||
Source(f)
|
Source(f)
|
||||||
|
|
||||||
|
# Workaround for bug in SCons version > 0.97d20071212
|
||||||
|
# Scons bug id: 2006 M5 Bug id: 308
|
||||||
|
from os.path import dirname, join as joinpath
|
||||||
|
|
||||||
|
Dir('isa')
|
||||||
|
Dir('isa/microops')
|
||||||
|
Dir('isa/decoder')
|
||||||
|
Dir('isa/formats')
|
||||||
|
Dir('isa/insts')
|
||||||
|
isa_dirs = set(map(lambda x:dirname(x), python_files))
|
||||||
|
for d in isa_dirs:
|
||||||
|
Dir(joinpath('isa/insts', d))
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,10 @@ if env['FULL_SYSTEM']:
|
||||||
Source('linux/events.cc')
|
Source('linux/events.cc')
|
||||||
Source('linux/linux_syscalls.cc')
|
Source('linux/linux_syscalls.cc')
|
||||||
Source('linux/printk.cc')
|
Source('linux/printk.cc')
|
||||||
|
|
||||||
|
# Workaround for bug in SCons version > 0.97d20071212
|
||||||
|
# Scons bug id: 2006 M5 Bug id: 308
|
||||||
|
Dir('tru64')
|
||||||
|
|
||||||
if env['TARGET_ISA'] == 'alpha':
|
if env['TARGET_ISA'] == 'alpha':
|
||||||
Source('tru64/dump_mbuf.cc')
|
Source('tru64/dump_mbuf.cc')
|
||||||
|
|
Loading…
Reference in a new issue