summaryrefslogtreecommitdiff
path: root/src/arch/SConscript
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-04-23 12:00:41 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-04-23 12:00:41 -0700
commit74ca8a3cd023bce0e919d09b494ee1e6c672a2a2 (patch)
tree517dfd4b2ed042a99c0073ea3a05795eeaf9fdb8 /src/arch/SConscript
parent867ff2b5f1e5643dc8bc95f48f0508d26445b507 (diff)
downloadgem5-74ca8a3cd023bce0e919d09b494ee1e6c672a2a2.tar.xz
ISA: Put parser generated files in a "generated" directory.
This is to avoid collision with non-generated files.
Diffstat (limited to 'src/arch/SConscript')
-rw-r--r--src/arch/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index 775aa1f41..d423fe9ea 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -29,6 +29,7 @@
# Authors: Steve Reinhardt
import sys
+import os
Import('*')
@@ -107,7 +108,7 @@ def isa_desc_emitter(target, source, env):
# Add in the CPU models.
source += [ Value(m) for m in cpu_models ]
- return target, source
+ return [os.path.join("generated", t) for t in target], source
ARCH_DIR = Dir('.')