From 38de206cf0c5beb5ac880181c5dab3e4aa0344a7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 11 Oct 2018 17:56:16 -0700 Subject: [PATCH] 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 --- src/dev/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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') -- 2.30.2