summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-25 17:02:52 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-25 17:02:52 +0000
commitdb2e1518ff4ecb4a394076321ea5cdda3483ccbe (patch)
treeee4ccf1410d785f3470bc9b87335b46ead77f0fc /SConstruct
parentaec4d225b28bfb97aa04845fe038b37e4ffad240 (diff)
scons: Always build trace driver
There are so many state trackers and winsys that rely on it for debug building, and trace can really build anywhere and is thin so there's no point is making it an option. Based on Xavier Chantry <chantry.xavier@gmail.com>'s patch: "I also removed the trace check in xlib SConscript which is now useless, and that script seems to deal with the cell driver, so I added cell in the check for supported drivers."
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index ea63b90f46..e1c4a1898c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -110,6 +110,10 @@ Export([
#######################################################################
# Environment setup
+# Always build trace driver
+if 'trace' not in env['drivers']:
+ env['drivers'].append('trace')
+
# Includes
env.Append(CPPPATH = [
'#/include',