SCons: Support building without an ISA
[gem5.git] / src / mem / cache / tags / SConscript
index 18ed8408bbcb421e65017a27fe1332f542bce97a..d640a9f13080931910703f7737df980fdf273b7e 100644 (file)
 
 Import('*')
 
-Source('base_tags.cc')
+if env['TARGET_ISA'] == 'no':
+    Return()
+
+Source('base.cc')
 Source('fa_lru.cc')
 Source('iic.cc')
 Source('lru.cc')
-Source('split.cc')
-Source('split_lifo.cc')
-Source('split_lru.cc')
+Source('cacheset.cc')
 
-SimObject('Repl.py')
-Source('repl/gen.cc')
+SimObject('iic_repl/Repl.py')
+Source('iic_repl/gen.cc')
 
 TraceFlag('IIC')
 TraceFlag('IICMore')
-TraceFlag('Split')