scons: Use tags to gate ISA files and not env['TARGET_ISA'].
Change-Id: Ib81a4c570fbb050fa7d82919edacfed004c6800e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50336 Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -31,13 +31,13 @@
|
||||
|
||||
Import('*')
|
||||
|
||||
if env['TARGET_ISA'] != 'x86' or not env['BUILD_GPU']:
|
||||
if not env['BUILD_GPU']:
|
||||
Return()
|
||||
|
||||
# Controllers
|
||||
SimObject('AMDGPU.py')
|
||||
SimObject('AMDGPU.py', tags='x86 isa')
|
||||
|
||||
Source('amdgpu_device.cc')
|
||||
Source('mmio_reader.cc')
|
||||
Source('amdgpu_device.cc', tags='x86 isa')
|
||||
Source('mmio_reader.cc', tags='x86 isa')
|
||||
|
||||
DebugFlag('AMDGPUDevice')
|
||||
DebugFlag('AMDGPUDevice', tags='x86 isa')
|
||||
|
||||
Reference in New Issue
Block a user