X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmem%2FSConscript;h=ca89418b54ebd8d3a0bc8619ef2d58221755f608;hb=d2fd3b2ec2c265eb9ed3bdcc1db3e4c3feee3846;hp=374f904a8d266654b7df63db8c9aff276da6b431;hpb=93e283abb348b81d086225f7861d94901c9b0888;p=gem5.git diff --git a/src/mem/SConscript b/src/mem/SConscript index 374f904a8..ca89418b5 100644 --- a/src/mem/SConscript +++ b/src/mem/SConscript @@ -30,17 +30,21 @@ Import('*') +# Only build the communication if we have support for protobuf as the +# tracing relies on it +if env['HAVE_PROTOBUF']: + SimObject('CommMonitor.py') + Source('comm_monitor.cc') + SimObject('AddrMapper.py') SimObject('Bridge.py') SimObject('Bus.py') -SimObject('CommMonitor.py') SimObject('MemObject.py') Source('addr_mapper.cc') Source('bridge.cc') Source('bus.cc') Source('coherent_bus.cc') -Source('comm_monitor.cc') Source('mem_object.cc') Source('mport.cc') Source('noncoherent_bus.cc')