From 8153790d0004439f8e9d473da97699644234117b Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 13 Jan 2009 14:17:50 -0800 Subject: SCons: centralize the Dir() workaround for newer versions of scons. Scons bug id: 2006 M5 Bug id: 308 --- src/arch/x86/SConscript | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/arch/x86/SConscript') diff --git a/src/arch/x86/SConscript b/src/arch/x86/SConscript index c2081156d..37719e75d 100644 --- a/src/arch/x86/SConscript +++ b/src/arch/x86/SConscript @@ -357,17 +357,3 @@ if env['TARGET_ISA'] == 'x86': # Only non-header files need to be compiled. if not f.path.endswith('.hh'): 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)) - -- cgit v1.2.3