summaryrefslogtreecommitdiff
path: root/src/mem/protocol
diff options
context:
space:
mode:
authorMarc Orr <marc.orr@gmail.com>2012-03-06 19:07:41 -0800
committerMarc Orr <marc.orr@gmail.com>2012-03-06 19:07:41 -0800
commiteb43883bef3960a9325f26e1925ca8325330173c (patch)
tree0b8bdb70184eb51392c88ca561f5482725d62999 /src/mem/protocol
parent75681d3c1b6fbb5b9ff0fe63862bdbe31ae5dec6 (diff)
downloadgem5-eb43883bef3960a9325f26e1925ca8325330173c.tar.xz
build scripts: Made minor modifications to reduce build overhead time.
1. --implicit-cache behavior is default. 2. makeEnv in src/SConscript is conditionally called. 3. decider set to MD5-timestamp 4. NO_HTML build option changed to SLICC_HTML (defaults to False)
Diffstat (limited to 'src/mem/protocol')
-rw-r--r--src/mem/protocol/SConscript4
-rw-r--r--src/mem/protocol/SConsopts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/protocol/SConscript b/src/mem/protocol/SConscript
index e7efe8b1c..9ef38d289 100644
--- a/src/mem/protocol/SConscript
+++ b/src/mem/protocol/SConscript
@@ -69,7 +69,7 @@ def slicc_emitter(target, source, env):
slicc = SLICC(filepath, verbose=False)
slicc.process()
slicc.writeCodeFiles(protocol_dir.abspath)
- if not env['NO_HTML']:
+ if env['SLICC_HTML']:
slicc.writeHTMLFiles(html_dir.abspath)
target.extend([protocol_dir.File(f) for f in sorted(slicc.files())])
@@ -82,7 +82,7 @@ def slicc_action(target, source, env):
slicc = SLICC(filepath, verbose=True)
slicc.process()
slicc.writeCodeFiles(protocol_dir.abspath)
- if not env['NO_HTML']:
+ if env['SLICC_HTML']:
slicc.writeHTMLFiles(html_dir.abspath)
slicc_builder = Builder(action=MakeAction(slicc_action, Transform("SLICC")),
diff --git a/src/mem/protocol/SConsopts b/src/mem/protocol/SConsopts
index 6a6bd798e..78b93c40e 100644
--- a/src/mem/protocol/SConsopts
+++ b/src/mem/protocol/SConsopts
@@ -48,5 +48,5 @@ opt = EnumVariable('PROTOCOL', 'Coherence protocol for Ruby', 'None',
sticky_vars.AddVariables(opt)
export_vars += ['PROTOCOL']
-opt = BoolVariable('NO_HTML', 'Do not create HTML files', False)
+opt = BoolVariable('SLICC_HTML', 'Create HTML files', False)
sticky_vars.AddVariables(opt)