From: Florent Kermarrec Date: Mon, 8 Oct 2018 15:01:04 +0000 (+0200) Subject: cpu_interface: fix select_triple when only one specified X-Git-Tag: 24jan2021_ls180~1567 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d187921500541ad89f389b06c71f5a3f717337b7;p=litex.git cpu_interface: fix select_triple when only one specified --- diff --git a/litex/soc/integration/cpu_interface.py b/litex/soc/integration/cpu_interface.py index fb8c1017..147d65e8 100644 --- a/litex/soc/integration/cpu_interface.py +++ b/litex/soc/integration/cpu_interface.py @@ -33,7 +33,7 @@ def get_cpu_mak(cpu): def select_triple(triple): r = None if not isinstance(triple, tuple): - triple = (triple) + triple = (triple,) for i in range(len(triple)): t = triple[i] if which(t+"-gcc"):