diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/testers/garnet_synthetic_traffic/SConscript | 3 | ||||
-rw-r--r-- | src/mem/ruby/SConscript | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/cpu/testers/garnet_synthetic_traffic/SConscript b/src/cpu/testers/garnet_synthetic_traffic/SConscript index f1624b05e..8fe4def36 100644 --- a/src/cpu/testers/garnet_synthetic_traffic/SConscript +++ b/src/cpu/testers/garnet_synthetic_traffic/SConscript @@ -30,6 +30,9 @@ Import('*') +if env['PROTOCOL'] == 'None': + Return() + SimObject('GarnetSyntheticTraffic.py') Source('GarnetSyntheticTraffic.cc') diff --git a/src/mem/ruby/SConscript b/src/mem/ruby/SConscript index 64e798fd5..be52c02d0 100644 --- a/src/mem/ruby/SConscript +++ b/src/mem/ruby/SConscript @@ -41,6 +41,9 @@ from gem5_scons import Transform Import('*') +if env['PROTOCOL'] == 'None': + Return() + DebugFlag('ProtocolTrace') DebugFlag('RubyCache') DebugFlag('RubyCacheTrace') @@ -62,9 +65,6 @@ CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', 'RubyPrefetcher']) -if env['PROTOCOL'] == 'None': - Return() - def do_embed_text(target, source, env): """convert a text file into a file that can be embedded in C using an #include statement, that defines a \"const char *\" pointing |