summaryrefslogtreecommitdiff
path: root/src/sim/SConscript
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:44:44 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:44:44 -0700
commit3182913e94674fcd101ec01c7ffb8245ec3046f8 (patch)
tree05eec550ebc6764fa71e52a40a3c614a6d93b5d5 /src/sim/SConscript
parenteddac53ff60c579eff28134bde84783fe36d6214 (diff)
downloadgem5-3182913e94674fcd101ec01c7ffb8245ec3046f8.tar.xz
scons: make a flexible system for guarding source files
This is similar to guards on mercurial queues and they're used for selecting which files are compiled into some given object. We already do something similar, but it's mostly hard coded for the m5 binary and the m5 library and I'd like to make it more flexible to better support the unittests
Diffstat (limited to 'src/sim/SConscript')
-rw-r--r--src/sim/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/SConscript b/src/sim/SConscript
index 5c22e328e..b3065374b 100644
--- a/src/sim/SConscript
+++ b/src/sim/SConscript
@@ -39,7 +39,7 @@ Source('core.cc')
Source('debug.cc')
Source('eventq.cc')
Source('init.cc')
-Source('main.cc', bin_only=True)
+Source('main.cc', main=True, skip_lib=True)
Source('root.cc')
Source('serialize.cc')
Source('sim_events.cc')