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 <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
This commit is contained in:
Andreas Sandberg 2016-12-19 16:25:38 +00:00
parent d113153b52
commit 73627fa007

View file

@ -34,7 +34,10 @@ Import('*')
SimObject('Device.py') SimObject('Device.py')
Source('io_device.cc') Source('io_device.cc')
Source('isa_fake.cc') Source('isa_fake.cc')
Source('dma_device.cc')
DebugFlag('IsaFake') DebugFlag('IsaFake')
DebugFlag('DMA')
if env['TARGET_ISA'] == 'null': if env['TARGET_ISA'] == 'null':
Return() Return()
@ -45,7 +48,6 @@ SimObject('Terminal.py')
SimObject('Uart.py') SimObject('Uart.py')
Source('baddev.cc') Source('baddev.cc')
Source('dma_device.cc')
Source('intel_8254_timer.cc') Source('intel_8254_timer.cc')
Source('mc146818.cc') Source('mc146818.cc')
Source('pixelpump.cc') Source('pixelpump.cc')
@ -55,7 +57,6 @@ Source('terminal.cc')
Source('uart.cc') Source('uart.cc')
Source('uart8250.cc') Source('uart8250.cc')
DebugFlag('DMA')
DebugFlag('Intel8254Timer') DebugFlag('Intel8254Timer')
DebugFlag('MC146818') DebugFlag('MC146818')
DebugFlag('Terminal') DebugFlag('Terminal')