From d187921500541ad89f389b06c71f5a3f717337b7 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 8 Oct 2018 17:01:04 +0200 Subject: [PATCH] cpu_interface: fix select_triple when only one specified --- litex/soc/integration/cpu_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"): -- 2.30.2