summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-05-06 12:09:54 -0400
committerNathan Binkert <binkertn@umich.edu>2004-05-06 12:09:54 -0400
commit24715f50ac2f8e2473d5d8d2c0ad7a8346fecaa1 (patch)
tree560f1973efb141c2da4d946f73c80010f9f0895c /base
parent569cb477d498ec5fbe441bf9f84f71868233c5d8 (diff)
downloadgem5-24715f50ac2f8e2473d5d8d2c0ad7a8346fecaa1.tar.xz
add support for sticking generated files in the build directory
instead of with the source code. This will hopefully be especially useful when we're generating dozens of files when we flesh out the object description stuff. remove generated files from the source tree. python is required to build now. base/trace.hh: no need for the underscore in the name base/traceflags.py: clean up code --HG-- extra : convert_revision : f68af8c3460eb7e73a1defaea3081a02ad7db33c
Diffstat (limited to 'base')
-rw-r--r--base/trace.hh2
-rw-r--r--base/traceflags.py6
2 files changed, 2 insertions, 6 deletions
diff --git a/base/trace.hh b/base/trace.hh
index e49d7aa61..948bff548 100644
--- a/base/trace.hh
+++ b/base/trace.hh
@@ -43,7 +43,7 @@
#endif
#endif
-#include "base/trace_flags.hh"
+#include "base/traceflags.hh"
namespace Trace {
diff --git a/base/traceflags.py b/base/traceflags.py
index 79a54445e..b7b7fa777 100644
--- a/base/traceflags.py
+++ b/base/traceflags.py
@@ -134,11 +134,7 @@ import sys
# extract just the compound flag names into a list
compoundFlags = []
compoundFlags.extend(compoundFlagMap.keys())
-#for flags in compoundFlagMap.keys():
-# compoundFlags.append(flags)
-print 'compound', compoundFlags
compoundFlags.sort()
-print 'compound', compoundFlags
#
# First generate the header file. This defines the Flag enum
@@ -288,7 +284,7 @@ print >>ccfile, '''\
* Automatically generated from traceflags.pl.
*/
-#include "base/trace_flags.hh"
+#include "base/traceflags.hh"
using namespace Trace;