summaryrefslogtreecommitdiff
path: root/build/SConstruct
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-01-24 19:57:17 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-01-24 19:57:17 -0500
commit89596f0cfa223a2f2836caa56ed79b8a0996f740 (patch)
tree4cddb37bdc85c15d3add1200e5f419635164129a /build/SConstruct
parent79a46838767f82554fafe6dc3c811492bdb32f8a (diff)
downloadgem5-89596f0cfa223a2f2836caa56ed79b8a0996f740.tar.xz
Some stuff aparently didn't get committed which was from before the new repository was created.
SConscript: There is a new SConscript in the arch/alpha directory which has the alpha specific files. To add files for an arch, a similar file should be created. arch/isa_parser.py: The isa parser now supports include directives. These are done with ##include build/SConstruct: The target directory is passed on so that the architecture specific SConscript can have it. Also, sparc was added as a valid architecture type. arch/alpha/SConscript: This SConscript adds the alpha specific source arch/sparc/isa_desc/operands.h: This sets up the operand types that the sparc isa uses arch/sparc/isa_traits.cc: Implementation of sparc specific things, like a register file with windows build/build_options/default/SPARC_SE: The default options for a sparc syscall emulation build. --HG-- extra : convert_revision : 1afedae61dc8cae0d59d3bf1d41420d929be2efd
Diffstat (limited to 'build/SConstruct')
-rw-r--r--build/SConstruct6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/SConstruct b/build/SConstruct
index 45461b0af..72b0930e1 100644
--- a/build/SConstruct
+++ b/build/SConstruct
@@ -223,7 +223,7 @@ env = conf.Finish()
# value becomes sticky).
sticky_opts = Options(args=ARGUMENTS)
sticky_opts.AddOptions(
- EnumOption('TARGET_ISA', 'Target ISA', 'alpha', ('alpha')),
+ EnumOption('TARGET_ISA', 'Target ISA', 'alpha', ('alpha', 'sparc')),
BoolOption('FULL_SYSTEM', 'Full-system support', False),
BoolOption('ALPHA_TLASER',
'Model Alpha TurboLaser platform (vs. Tsunami)', False),
@@ -320,6 +320,10 @@ base_env = env
for build_dir in build_dirs:
# Make a copy of the default environment to use for this config.
env = base_env.Copy()
+
+ # Record what build_dir was in the environment
+ env.Append(BUILD_DIR=build_dir);
+
# Set env according to the build directory config.
sticky_opts.files = []