summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-11-15 14:04:04 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2010-11-15 14:04:04 -0600
commitd4767f440a7a8bfefa0851726b729b8d30a654a5 (patch)
tree675011540ad18ee1cdaa6219fe6a0c5264a9705f /src/arch
parentc37086633189ec6cc754bcd24369e6e2d15cf1f8 (diff)
downloadgem5-d4767f440a7a8bfefa0851726b729b8d30a654a5.tar.xz
SCons: Cleanup SCons output during compile
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/SConscript3
-rwxr-xr-xsrc/arch/isa_parser.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index 9ebc6986b..dd337b1b7 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -109,7 +109,7 @@ ARCH_DIR = Dir('.')
# import ply here because SCons screws with sys.path when performing actions.
import ply
-def isa_desc_action(target, source, env):
+def isa_desc_action_func(target, source, env):
# Add the current directory to the system path so we can import files
sys.path[0:0] = [ ARCH_DIR.srcnode().abspath ]
import isa_parser
@@ -118,6 +118,7 @@ def isa_desc_action(target, source, env):
cpu_models = [CpuModel.dict[cpu] for cpu in models]
parser = isa_parser.ISAParser(target[0].dir.abspath, cpu_models)
parser.parse_isa_desc(source[0].abspath)
+isa_desc_action = MakeAction(isa_desc_action_func, " [ISA DESC] $STRIP_SOURCE")
# Also include the CheckerCPU as one of the models if it is being
# enabled via command line.
diff --git a/src/arch/isa_parser.py b/src/arch/isa_parser.py
index 8e13b6a6a..4c23529f0 100755
--- a/src/arch/isa_parser.py
+++ b/src/arch/isa_parser.py
@@ -1945,7 +1945,7 @@ StaticInstPtr
else:
print 'File', file, 'is unchanged'
else:
- print 'Generating', file
+ print ' [GENERATE]', file
update = True
if update:
f = open(file, 'w')