From 24715f50ac2f8e2473d5d8d2c0ad7a8346fecaa1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 6 May 2004 12:09:54 -0400 Subject: 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 --- base/trace.hh | 2 +- base/traceflags.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'base') 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; -- cgit v1.2.3