summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-05-01 22:05:00 -0700
committerGabe Black <gabeblack@google.com>2017-05-10 16:53:05 +0000
commit9810fc67ed9d1380adfc1b60a6946f023ce60a5e (patch)
treeb2260d03b1801fcaf7dd8f639de35938d4c44058 /src
parent8ee95f3d1164b3320fee3595f7ec9d8c9687dcad (diff)
downloadgem5-9810fc67ed9d1380adfc1b60a6946f023ce60a5e.tar.xz
scons: Use the generalized switching headers on the GPU ISA.
Now that the switching header implementation has been generalized, there's no need to have two nearly identical implementations for the two different groups of headers. Change-Id: Ie7c24fcddbc672ac5ca2d69bfc35696f42c55580 Reviewed-on: https://gem5-review.googlesource.com/2984 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index 891a5a29a..ea940560d 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -67,13 +67,13 @@ env.SwitchingHeaders(
env.subst('${TARGET_ISA}'))
if env['BUILD_GPU']:
- gpu_isa_switch_hdrs = Split('''
+ env.SwitchingHeaders(
+ Split('''
gpu_decoder.hh
gpu_isa.hh
gpu_types.hh
- ''')
-
- make_gpu_switching_dir('arch', gpu_isa_switch_hdrs, env)
+ '''),
+ env.subst('${TARGET_GPU_ISA}'))
#################################################################
#