summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-04-21 10:49:06 -0700
committerNathan Binkert <nate@binkert.org>2009-04-21 10:49:06 -0700
commitfff9c93568d73dcb2d237f0386dc7323412ff710 (patch)
tree2d5fd4a69f726e369a2fa3e6ad82f3a21fe6afe2
parent7b2f8e6857c035f6ae1d24abaab41915070705e3 (diff)
downloadgem5-fff9c93568d73dcb2d237f0386dc7323412ff710.tar.xz
scons: make default target work again
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index baa4864a9..cc5bbbdd9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -273,7 +273,7 @@ if COMMAND_LINE_TARGETS:
COMMAND_LINE_TARGETS]
else:
# Default targets are relative to root of tree
- abs_targets = [ normpath(joinpath(ROOT, str(x))) for x in \
+ abs_targets = [ normpath(joinpath(env.root.abspath, str(x))) for x in \
DEFAULT_TARGETS]