summaryrefslogtreecommitdiff
path: root/build/SConstruct
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2005-03-10 15:53:27 -0500
committerKevin Lim <ktlim@umich.edu>2005-03-10 15:53:27 -0500
commitc12a665c3120b61ed4e09da5d8a52c57406763d5 (patch)
treeb5176be0d526ea24cafcd6f615058651f2b34dfb /build/SConstruct
parentaa8c9db159422a313f6dfc9a76fd827515b32126 (diff)
parent51108a8c0a3a42702f49a945f8a4dac776a8d189 (diff)
downloadgem5-c12a665c3120b61ed4e09da5d8a52c57406763d5.tar.xz
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/m5 --HG-- extra : convert_revision : a58535776cf5a3d17f8d9f65144cdf8db54289aa
Diffstat (limited to 'build/SConstruct')
-rw-r--r--build/SConstruct7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/SConstruct b/build/SConstruct
index 3d7db1db2..a1f1cdc5c 100644
--- a/build/SConstruct
+++ b/build/SConstruct
@@ -114,11 +114,16 @@ def MySqlOpt(env):
def NoFastAllocOpt(env):
env.Append(CPPDEFINES = 'NO_FAST_ALLOC')
+# Enable efence
+def EfenceOpt(env):
+ env.Append(LIBS=['efence'])
+
# Configuration options map.
options_map = {
'MEASURE' : MeasureOpt,
'MYSQL' : MySqlOpt,
- 'NO_FAST_ALLOC' : NoFastAllocOpt
+ 'NO_FAST_ALLOC' : NoFastAllocOpt,
+ 'EFENCE' : EfenceOpt
}
# The 'local_configs' file can be used to define additional base