build.plat: NMIGEN_<toolchain>_env→NMIGEN_ENV_<toolchain>

This is more consistent with other environment variables nMigen uses.
This commit is contained in:
whitequark 2019-09-21 12:23:53 +00:00
parent 2dc6ae4ac5
commit 07a82ed70e
5 changed files with 6 additions and 6 deletions

View file

@ -62,7 +62,7 @@ class Platform(ResourceManager, metaclass=ABCMeta):
@property
def _toolchain_env_var(self):
return f"NMIGEN_{self.toolchain}_env"
return f"NMIGEN_ENV_{self.toolchain}"
def build(self, elaboratable, name="top",
build_dir="build", do_build=True,