From 1b49c56679b18b068e04cfe074bf984897fe656b Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 2 Aug 2011 00:10:08 -0500 Subject: Scons: Drop RUBY as compile time option. This patch drops RUBY as a compile time option. Instead the PROTOCOL option is used to figure out whether or not to build Ruby. If the specified protocol is 'None', then Ruby is not compiled. --- src/mem/protocol/SConsopts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/mem/protocol/SConsopts b/src/mem/protocol/SConsopts index dac52d742..6a6bd798e 100644 --- a/src/mem/protocol/SConsopts +++ b/src/mem/protocol/SConsopts @@ -34,24 +34,15 @@ Import('*') all_protocols = [ 'MESI_CMP_directory', - 'MESI_SCMP_bankdirectory', - 'MESI_SCMP_bankdirectory_m', 'MI_example', 'MOESI_CMP_directory', - 'MOESI_CMP_directory_m', 'MOESI_CMP_token', - 'MOESI_SMP_directory', - 'MOESI_SMP_token', - 'MOSI_SMP_bcast', - 'MOSI_SMP_bcast_1level', - 'MOSI_SMP_bcast_m', - 'MOSI_SMP_directory_1level', - 'MSI_MOSI_CMP_directory', 'MOESI_hammer', 'Network_test', + 'None' ] -opt = EnumVariable('PROTOCOL', 'Coherence protocol for Ruby', 'MI_example', +opt = EnumVariable('PROTOCOL', 'Coherence protocol for Ruby', 'None', all_protocols) sticky_vars.AddVariables(opt) -- cgit v1.2.3