diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-08-07 14:23:01 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-08-07 14:23:01 -0700 |
commit | 2c5356835d429c95610b9f125abc6aaddcb48395 (patch) | |
tree | fa4c87db4fd2ce912121c8d12a123d76d73b9b41 /build | |
parent | 2eed802774426484d061fe94b1f653f4ebbd2175 (diff) | |
download | gem5-2c5356835d429c95610b9f125abc6aaddcb48395.tar.xz |
Split libelf/SConscript into two parts, one for the
shared build and one for the per-config header file
copying.
SConscript:
Just include libelf/SConscript-local.
build/SConstruct:
Include libelf/SConscript-global.
--HG--
extra : convert_revision : 0a4ae8f1514819f99fec101b898c19dabd4d59bd
Diffstat (limited to 'build')
-rw-r--r-- | build/SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/SConstruct b/build/SConstruct index 08eb13ea1..381b6ecda 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -246,6 +246,13 @@ default_env.Append(CCFLAGS='-pipe') default_env.Append(CCFLAGS='-fno-strict-aliasing') default_env.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef')) +# libelf build is described in its own SConscript file. Using a +# dictionary for exports lets us export "default_env" so the +# SConscript will see it as "env". SConscript-global is the build in +# build/libelf shared among all configs. +default_env.SConscript('m5/libelf/SConscript-global', + exports={'env' : default_env}) + ################################################### # # Define build environments for selected configurations. |