X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Farch%2FSConscript;h=b022cb01fa7469ca2acc8ec64581e374364133cc;hb=9d8fec0d90c2121a092c04da74e3306069ab5270;hp=e0d6845f5790edb2e64c51dfe70d2f0c81bd70ba;hpb=adbaa4dfde96d5aaf84adf0ae4989ef880aad726;p=gem5.git diff --git a/src/arch/SConscript b/src/arch/SConscript index e0d6845f5..b022cb01f 100644 --- a/src/arch/SConscript +++ b/src/arch/SConscript @@ -68,6 +68,14 @@ isa_switch_hdrs = Split(''' # Set up this directory to support switching headers make_switching_dir('arch', isa_switch_hdrs, env) +if env['BUILD_GPU']: + gpu_isa_switch_hdrs = Split(''' + gpu_decoder.hh + gpu_types.hh + ''') + + make_gpu_switching_dir('arch', gpu_isa_switch_hdrs, env) + ################################################################# # # Include architecture-specific files.