summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2004-08-03 22:46:03 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2004-08-03 22:46:03 -0700
commit1939370c96b48a1f635799b6017d5f5f11799353 (patch)
tree7b767bd7b9e78551339e3e85cf5784cca8c02ec3 /SConscript
parente79dee27ce744458449b4aec9e39f297aa01d984 (diff)
downloadgem5-1939370c96b48a1f635799b6017d5f5f11799353.tar.xz
Move libelf/SConscript include to m5/SConscript, so elf
headers get created in build tree (under build/FOO/libelf) instead of source tree (m5/libelf). SConscript: Move libelf/SConscript include here. build/SConstruct: Get rid of libelf/SConscript include (moved to m5/SConscript). --HG-- extra : convert_revision : c0acb3bab2afa5079748b907c5917f548582099e
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index 60e703e9b..cd41c3143 100644
--- a/SConscript
+++ b/SConscript
@@ -337,6 +337,11 @@ def link_targetarch(target, source, env):
env.Command('targetarch', None, link_targetarch)
+# libelf build is described in its own SConscript file.
+SConscript('libelf/SConscript', exports = 'env',
+ duplicate=0)
+
+
# This function adds the specified sources to the given build
# environment, and returns a list of all the corresponding SCons
# Object nodes (including an extra one for date.cc). We explicitly