summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/garnet-fixed-pipeline/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/network/garnet-fixed-pipeline/SConscript')
-rw-r--r--src/mem/ruby/network/garnet-fixed-pipeline/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet-fixed-pipeline/SConscript b/src/mem/ruby/network/garnet-fixed-pipeline/SConscript
index bcd1b09ac..0814df2f5 100644
--- a/src/mem/ruby/network/garnet-fixed-pipeline/SConscript
+++ b/src/mem/ruby/network/garnet-fixed-pipeline/SConscript
@@ -30,6 +30,9 @@
Import('*')
+if not env['RUBY']:
+ Return()
+
Source('GarnetNetwork_d.cc')
Source('InputUnit_d.cc')
Source('NetworkInterface_d.cc')