Fix python binary name in arch/SConscript.
Also delete no-longer-needed SPARC test.py files (should have gone with my last chnageset where LiveProcess became ISA-independent). src/arch/SConscript: Mistakenly committed hard-coded python binary name. Should use same python to run isa_parser that was used to run scons. --HG-- extra : convert_revision : a3acd5496f3b930d57bb59ae164b8a4a8065bbf8
This commit is contained in:
parent
df4b4f001e
commit
babb22eea4
1 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
#
|
||||
# Authors: Steve Reinhardt
|
||||
|
||||
import os.path
|
||||
import os.path, sys
|
||||
|
||||
# Import build environment variable from SConstruct.
|
||||
Import('env')
|
||||
|
@ -134,7 +134,8 @@ def isa_desc_emitter(target, source, env):
|
|||
return (isa_desc_gen_files, [isa_parser, cpu_models_file] + source)
|
||||
|
||||
# Pieces are in place, so create the builder.
|
||||
isa_desc_builder = Builder(action='python2.4 $SOURCES $TARGET.dir $CPU_MODELS',
|
||||
python = sys.executable # use same Python binary used to run scons
|
||||
isa_desc_builder = Builder(action=python + ' $SOURCES $TARGET.dir $CPU_MODELS',
|
||||
emitter = isa_desc_emitter)
|
||||
|
||||
env.Append(BUILDERS = { 'ISADesc' : isa_desc_builder })
|
||||
|
|
Loading…
Reference in a new issue