scons: Put all config variables in an env['CONF'] sub-dict.
This makes what are configuration and what are internal SCons variables explicit and separate, and makes it unnecessary to call out what variables to export to C++. These variables will also be plumbed into and out of kconfiglib in later changes. Change-Id: Iaf5e098d7404af06285c421dbdf8ef4171b3f001 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/56892 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -74,11 +74,10 @@ SimObject('X86TLB.py', sim_objects=['X86PagetableWalker', 'X86TLB'],
|
||||
tags='x86 isa')
|
||||
|
||||
SimObject('X86CPU.py', sim_objects=[], tags='x86 isa')
|
||||
if env['TARGET_ISA'] == 'x86':
|
||||
SimObject('AtomicSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('TimingSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('NonCachingSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('O3CPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('AtomicSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('TimingSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('NonCachingSimpleCPU.py', sim_objects=[], tags='x86 isa')
|
||||
SimObject('O3CPU.py', sim_objects=[], tags='x86 isa')
|
||||
|
||||
DebugFlag('LocalApic', "Local APIC debugging", tags='x86 isa')
|
||||
DebugFlag('X86', "Generic X86 ISA debugging", tags='x86 isa')
|
||||
|
||||
Reference in New Issue
Block a user