SCons: Manually specifying header only directories with Dir() works around the problem

--HG--
extra : convert_revision : d9713228d934cf4a45114a972603b8bca2bd27d3
This commit is contained in:
Ali Saidi 2008-04-08 11:08:26 -04:00
parent bee4d454e8
commit ed27c4c521
3 changed files with 4 additions and 3 deletions

View file

@ -143,9 +143,6 @@ def CheckSCons(bad_ver_strs):
CheckSCons((
# We need a version that is 0.96.91 or newer
('0.0.0', '0.96.90'),
# This range has a bug with linking directories into the build dir
# that only have header files in them
('0.97.0d20071212', '0.98.0')
))

View file

@ -148,6 +148,8 @@ if env['USE_CHECKER']:
print i,
print ", please set USE_CHECKER=False or use one of those CPU models"
Exit(1)
else:
Dir('checker')
TraceFlag('Activity')
TraceFlag('Commit')

View file

@ -35,6 +35,8 @@ SimObject('Bus.py')
SimObject('PhysicalMemory.py')
SimObject('MemObject.py')
Dir('config')
Source('bridge.cc')
Source('bus.cc')
Source('dram.cc')