Skip to content

Commit

Permalink
integration/export/triple: use LITEX_ENV_CC_TRIPLE instead of TRIPLE.
Browse files Browse the repository at this point in the history
triple can be used internally, but is too generic as an environment variable.
  • Loading branch information
enjoy-digital committed Jan 27, 2021
1 parent f331dda commit b8bcbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/soc/integration/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def select_triple(triple):
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()
Expand Down

0 comments on commit b8bcbc5

Please sign in to comment.