From: Gabe Black Date: Fri, 12 Oct 2018 00:56:16 +0000 (-0700) Subject: dev: Include the platform base class even in NULL_ISA builds. X-Git-Tag: v19.0.0.0~1592 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38de206cf0c5beb5ac880181c5dab3e4aa0344a7;p=gem5.git dev: Include the platform base class even in NULL_ISA builds. These classes don't have any ISA specific aspects. Change-Id: Ifefb12d23e4aee8e3fd56f0a1eb3d9ad00e733a0 Reviewed-on: https://gem5-review.googlesource.com/c/13467 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- diff --git a/src/dev/SConscript b/src/dev/SConscript index c9526c2a9..ecb6dccbb 100644 --- a/src/dev/SConscript +++ b/src/dev/SConscript @@ -39,17 +39,18 @@ Source('dma_device.cc') DebugFlag('IsaFake') DebugFlag('DMA') +SimObject('Platform.py') +Source('platform.cc') + if env['TARGET_ISA'] == 'null': Return() SimObject('BadDevice.py') -SimObject('Platform.py') Source('baddev.cc') Source('intel_8254_timer.cc') Source('mc146818.cc') Source('pixelpump.cc') -Source('platform.cc') DebugFlag('Intel8254Timer') DebugFlag('MC146818')