We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70cfa0 commit e997558Copy full SHA for e997558
amaranth/build/plat.py
@@ -76,7 +76,10 @@ def _toolchain_env_var(self):
76
# TODO(amaranth-0.5): remove
77
@property
78
def _all_toolchain_env_vars(self):
79
- return (f"AMARANTH_ENV_{self.toolchain}", self._toolchain_env_var,)
+ return (
80
+ f"AMARANTH_ENV_{self.toolchain.replace('-', '_').replace('+', 'X')}",
81
+ self._toolchain_env_var,
82
+ )
83
84
def build(self, elaboratable, name="top",
85
build_dir="build", do_build=True,
0 commit comments