From 79ae6a99ab8ef2ed36c1ece50e1adb23c12de972 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 12 Oct 2021 17:17:52 +1030 Subject: [PATCH] microwatt: Fix family property In commit 061b89beffde ("cpu/picolibc: Add family property to CPUs and directly use it for picolibc.") a family was added for meson cross compilation, but this doesn't exist, leading to the following warning: WARNING: Unknown CPU family powerpc, please report this at https://github.com/mesonbuild/meson/issues/new Instead use ppc64. While this seems wrong for a ppc64le machine, it appears to be what meson expects. Signed-off-by: Joel Stanley --- litex/soc/cores/cpu/microwatt/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/cpu/microwatt/core.py b/litex/soc/cores/cpu/microwatt/core.py index 8f2e5375c..daf3f745c 100644 --- a/litex/soc/cores/cpu/microwatt/core.py +++ b/litex/soc/cores/cpu/microwatt/core.py @@ -25,7 +25,7 @@ CPU_VARIANTS = ["standard", "standard+ghdl", "standard+irq", "standard+ghdl+irq" # Microwatt ---------------------------------------------------------------------------------------- class Microwatt(CPU): - family = "powerpc" + family = "ppc64" name = "microwatt" human_name = "Microwatt" variants = CPU_VARIANTS