mem: Include the DRAMSim2 wrapper in NULL build
authorAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:11:44 +0000 (11:11 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:11:44 +0000 (11:11 -0400)
This patch makes sure DRAMSim2 is included in a build of the NULL ISA.

src/mem/SConscript

index 9096fad5c4e495227d60003043e0f759c651ba8e..939c8320fe28beb2da10a6eb59be3f2648dd9468 100644 (file)
@@ -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')