summaryrefslogtreecommitdiff
path: root/src/arch/SConscript
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-06-12 16:19:18 -0400
committerKorey Sewell <ksewell@umich.edu>2006-06-12 16:19:18 -0400
commitb0fc2c02af47c04650b981a28e2551bb7d07b426 (patch)
treeecd587c0228010f29bb1d5c376b2c19a77e4567f /src/arch/SConscript
parent13d46e2075444fb4d9b36c766a7641a637f83dcf (diff)
parentbabb22eea4be07cbc725eea129c6a6557fd56af2 (diff)
downloadgem5-b0fc2c02af47c04650b981a28e2551bb7d07b426.tar.xz
Merge zizzer:/bk/newmem
into zizzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-release --HG-- extra : convert_revision : 18a381fa230f2ef6d027359ffd619e3ae75cd446
Diffstat (limited to 'src/arch/SConscript')
-rw-r--r--src/arch/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index c90694a68..ff460dafd 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -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 })