summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/SConscript2
-rwxr-xr-xsrc/arch/isa_parser.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index 620de4d1c..8c537182d 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -118,7 +118,7 @@ def isa_desc_action_func(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")
+isa_desc_action = MakeAction(isa_desc_action_func, Transform("ISA DESC", 1))
# 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 2a03f1968..00bfd33d2 100755
--- a/src/arch/isa_parser.py
+++ b/src/arch/isa_parser.py
@@ -1980,13 +1980,11 @@ StaticInstPtr
old_contents = f.read()
f.close()
if contents != old_contents:
- print 'Updating', file
os.remove(file) # in case it's write-protected
update = True
else:
print 'File', file, 'is unchanged'
else:
- print ' [GENERATE]', file
update = True
if update:
f = open(file, 'w')