build.plat: use tool_env_var() in _toolchain_env_var.
This commit is contained in:
parent
1f1d189441
commit
f6253b3851
|
@ -70,11 +70,11 @@ class Platform(ResourceManager, metaclass=ABCMeta):
|
|||
|
||||
@property
|
||||
def _deprecated_toolchain_env_var(self):
|
||||
return f"NMIGEN_ENV_{self.toolchain}"
|
||||
return f"NMIGEN_ENV_{tool_env_var(self.toolchain)}"
|
||||
|
||||
@property
|
||||
def _toolchain_env_var(self):
|
||||
return f"AMARANTH_ENV_{self.toolchain}"
|
||||
return f"AMARANTH_ENV_{tool_env_var(self.toolchain)}"
|
||||
|
||||
def build(self, elaboratable, name="top",
|
||||
build_dir="build", do_build=True,
|
||||
|
|
Loading…
Reference in a new issue