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
This commit is contained in:
Nathan Binkert 2004-05-06 12:09:54 -04:00
parent 569cb477d4
commit 24715f50ac
2 changed files with 2 additions and 6 deletions

View file

@ -43,7 +43,7 @@
#endif
#endif
#include "base/trace_flags.hh"
#include "base/traceflags.hh"
namespace Trace {

View file

@ -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;