From 3182913e94674fcd101ec01c7ffb8245ec3046f8 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 15 Apr 2011 10:44:44 -0700 Subject: 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 --- src/sim/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim') 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') -- cgit v1.2.3