From: Nathan Binkert Date: Thu, 6 May 2004 16:09:54 +0000 (-0400) Subject: add support for sticking generated files in the build directory X-Git-Tag: m5_1.0_beta2~43^2~1^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24715f50ac2f8e2473d5d8d2c0ad7a8346fecaa1;p=gem5.git 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 --- 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;