SCons: Support building without an ISA
[gem5.git] / src / mem / cache / tags / SConscript
index 37ed5dc85aa24c8e403a044047e32a747ca13ed2..d640a9f13080931910703f7737df980fdf273b7e 100644 (file)
@@ -30,6 +30,9 @@
 
 Import('*')
 
+if env['TARGET_ISA'] == 'no':
+    Return()
+
 Source('base.cc')
 Source('fa_lru.cc')
 Source('iic.cc')