diff --git a/src/mem/SConscript b/src/mem/SConscript index 9096fad5c4..939c8320fe 100644 --- a/src/mem/SConscript +++ b/src/mem/SConscript @@ -66,10 +66,10 @@ if env['TARGET_ISA'] != 'null': Source('se_translating_port_proxy.cc') Source('page_table.cc') - if env['HAVE_DRAMSIM']: - SimObject('DRAMSim2.py') - Source('dramsim2_wrapper.cc') - Source('dramsim2.cc') +if env['HAVE_DRAMSIM']: + SimObject('DRAMSim2.py') + Source('dramsim2_wrapper.cc') + Source('dramsim2.cc') DebugFlag('BaseBus') DebugFlag('BusAddrRanges')