From 6c454ee53beeb5709cc289cc2446e9e86bc4faed Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 20 Oct 2020 17:59:31 -0700 Subject: [PATCH] arch: Move many of the generic files outside an NULL guard. These files can be compiled successfully even if the ISA is the NULL ISA. Change-Id: I67133ea674f678f33b0aa1ef55af719f2869241d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34169 Reviewed-by: Andreas Sandberg Reviewed-by: Gabe Black Maintainer: Andreas Sandberg Maintainer: Gabe Black Tested-by: kokoro --- src/arch/generic/SConscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arch/generic/SConscript b/src/arch/generic/SConscript index 1df17e0de..60b24d0cd 100644 --- a/src/arch/generic/SConscript +++ b/src/arch/generic/SConscript @@ -39,12 +39,6 @@ Import('*') Source('htm.cc') - -if env['TARGET_ISA'] == 'null': - Return() - -Source('decode_cache.cc') -Source('decoder.cc') Source('mmu.cc') SimObject('BaseInterrupts.py') @@ -54,3 +48,9 @@ SimObject('BaseTLB.py') SimObject('ISACommon.py') DebugFlag('TLB') + +if env['TARGET_ISA'] == 'null': + Return() + +Source('decode_cache.cc') +Source('decoder.cc') -- 2.30.2