diff options
author | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:14:48 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:14:48 -0800 |
commit | f0b4259e98773bee04cd0af5dda7bcfba5032589 (patch) | |
tree | 6507a2f53b7e645d7ab30fd43384afa4b6b98b48 /src/cpu/SConscript | |
parent | ac106767c86e58af623c81ed04521ea40ad7b8a9 (diff) | |
download | gem5-f0b4259e98773bee04cd0af5dda7bcfba5032589.tar.xz |
cpu_models: get rid of cpu_models.py and move the stuff into SCons
Diffstat (limited to 'src/cpu/SConscript')
-rw-r--r-- | src/cpu/SConscript | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cpu/SConscript b/src/cpu/SConscript index b89a589c6..6b4c43dc0 100644 --- a/src/cpu/SConscript +++ b/src/cpu/SConscript @@ -40,12 +40,6 @@ Import('*') # ################################################################# -# CPU model-specific data is contained in cpu_models.py -# Convert to SCons File node to get path handling -models_db = File('cpu_models.py') -# slurp in contents of file -execfile(models_db.srcnode().abspath) - # Template for execute() signature. exec_sig_template = ''' virtual Fault execute(%(type)s *xc, Trace::InstRecord *traceData) const = 0; @@ -97,7 +91,7 @@ def gen_sigs_string(target, source, env): + ', '.join(temp_cpu_list) # Add command to generate header to environment. -env.Command('static_inst_exec_sigs.hh', models_db, +env.Command('static_inst_exec_sigs.hh', (), Action(gen_cpu_exec_signatures, gen_sigs_string, varlist = temp_cpu_list)) |