integration/export/triple: use LITEX_ENV_CC_TRIPLE instead of TRIPLE.

triple can be used internally, but is too generic as an environment variable.
This commit is contained in:
Florent Kermarrec 2021-01-27 08:25:48 +01:00
parent f331ddace8
commit b8bcbc522f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def get_cpu_mak(cpu, compile_software):
r = None
if not isinstance(triple, tuple):
triple = (triple,)
override = os.getenv( "TRIPLE" )
override = os.getenv("LITEX_ENV_CC_TRIPLE")
if override:
triple = (override,) + triple
p = get_platform()