diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/protocol/SConscript | 4 | ||||
-rw-r--r-- | src/mem/protocol/SConsopts | 2 |
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) |