mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #780 from garytwong/triple-option
integration/export: allow manually specifying toolchain triple.
This commit is contained in:
commit
f331ddace8
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ def get_cpu_mak(cpu, compile_software):
|
|||
r = None
|
||||
if not isinstance(triple, tuple):
|
||||
triple = (triple,)
|
||||
override = os.getenv( "TRIPLE" )
|
||||
if override:
|
||||
triple = (override,) + triple
|
||||
p = get_platform()
|
||||
for i in range(len(triple)):
|
||||
t = triple[i]
|
||||
|
|
Loading…
Reference in a new issue