From: Gabe Black Date: Wed, 21 Oct 2020 00:59:31 +0000 (-0700) Subject: arch: Move many of the generic files outside an NULL guard. X-Git-Tag: develop-gem5-snapshot~540 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c454ee53beeb5709cc289cc2446e9e86bc4faed;p=gem5.git 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 --- 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')