SConscript (12015:469a2f126b4c) | SConscript (12016:893091853afd) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 53 unchanged lines hidden (view full) --- 62 tlb.hh 63 types.hh 64 utility.hh 65 vtophys.hh 66 '''), 67 env.subst('${TARGET_ISA}')) 68 69if env['BUILD_GPU']: | 1# -*- mode:python -*- 2 3# Copyright (c) 2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 53 unchanged lines hidden (view full) --- 62 tlb.hh 63 types.hh 64 utility.hh 65 vtophys.hh 66 '''), 67 env.subst('${TARGET_ISA}')) 68 69if env['BUILD_GPU']: |
70 gpu_isa_switch_hdrs = Split(''' | 70 env.SwitchingHeaders( 71 Split(''' |
71 gpu_decoder.hh 72 gpu_isa.hh 73 gpu_types.hh | 72 gpu_decoder.hh 73 gpu_isa.hh 74 gpu_types.hh |
74 ''') | 75 '''), 76 env.subst('${TARGET_GPU_ISA}')) |
75 | 77 |
76 make_gpu_switching_dir('arch', gpu_isa_switch_hdrs, env) 77 | |
78################################################################# 79# 80# Include architecture-specific files. 81# 82################################################################# 83 84# 85# Build a SCons scanner for ISA files --- 122 unchanged lines hidden --- | 78################################################################# 79# 80# Include architecture-specific files. 81# 82################################################################# 83 84# 85# Build a SCons scanner for ISA files --- 122 unchanged lines hidden --- |