changeset 1c6f1372e487 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=1c6f1372e487
description:
dev: Include DmaDevice in NULL builds
Builds for the NULL ISA include Device.py, which contains the Python
declaration of DmaDevice, but don't include the actual C++
implementation. Add dma_device.cc to the NULL build to the Python and
C++ worlds consistent again.
Change-Id: I47a57181a1f4d5a7276467678bf16fbc7f161681
Signed-off-by: Andreas Sandberg <[email protected]>
Reviewed-by: Sascha Bischoff <[email protected]>
diffstat:
src/dev/SConscript | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 3e4972406ba9 -r 1c6f1372e487 src/dev/SConscript
--- a/src/dev/SConscript Mon Dec 19 16:25:38 2016 +0000
+++ b/src/dev/SConscript Mon Dec 19 16:25:38 2016 +0000
@@ -34,7 +34,10 @@
SimObject('Device.py')
Source('io_device.cc')
Source('isa_fake.cc')
+Source('dma_device.cc')
+
DebugFlag('IsaFake')
+DebugFlag('DMA')
if env['TARGET_ISA'] == 'null':
Return()
@@ -45,7 +48,6 @@
SimObject('Uart.py')
Source('baddev.cc')
-Source('dma_device.cc')
Source('intel_8254_timer.cc')
Source('mc146818.cc')
Source('pixelpump.cc')
@@ -55,7 +57,6 @@
Source('uart.cc')
Source('uart8250.cc')
-DebugFlag('DMA')
DebugFlag('Intel8254Timer')
DebugFlag('MC146818')
DebugFlag('Terminal')
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev