projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ac113
)
build.plat: make `verbose` work like all other overrides.
author
whitequark
<whitequark@whitequark.org>
Tue, 24 Nov 2020 23:07:09 +0000
(23:07 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 15:24:15 +0000
(15:24 +0000)
Fixes #497.
nmigen/build/plat.py
patch
|
blob
|
history
diff --git
a/nmigen/build/plat.py
b/nmigen/build/plat.py
index 750a4779f904e5d936c38f8e85b1e45456614be2..c1d8fc693c0c180d56f319433889b10125ee573e 100644
(file)
--- a/
nmigen/build/plat.py
+++ b/
nmigen/build/plat.py
@@
-396,13
+396,13
@@
class TemplatedPlatform(Platform):
return '"' + re.sub(r"([$[\\])", r"\\\1", string) + '"'
def verbose(arg):
- if
"NMIGEN_verbose" in os.environ
:
+ if
get_override("verbose")
:
return arg
else:
return jinja2.Undefined(name="quiet")
def quiet(arg):
- if
"NMIGEN_verbose" in os.environ
:
+ if
get_override("verbose")
:
return jinja2.Undefined(name="quiet")
else:
return arg