# Authors: Steve Reinhardt
import sys
+import os
Import('*')
# List of headers to generate
isa_switch_hdrs = Split('''
+ decoder.hh
interrupts.hh
isa.hh
isa_traits.hh
# autogenerated files as targets and isa parser itself as a source.
def isa_desc_emitter(target, source, env):
cpu_models = list(env['CPU_MODELS'])
- if env['USE_CHECKER']:
- cpu_models.append('CheckerCPU')
+ cpu_models.append('CheckerCPU')
# Several files are generated from the ISA description.
# We always get the basic decoder and header file.
# Add in the CPU models.
source += [ Value(m) for m in cpu_models ]
- return target, source
+ return [os.path.join("generated", t) for t in target], source
ARCH_DIR = Dir('.')