From: Khem Raj Date: Sat, 13 Mar 2021 08:57:19 +0000 (-0800) Subject: cmake.bbclass: Create cmake arch mapping for ppc64le X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698ece14e22d0efd9074493ef443b2cce5625d51;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cmake.bbclass: Create cmake arch mapping for ppc64le Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 4af22268b74..70e4f3b6fd0 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -81,6 +81,8 @@ def map_host_os_to_system_name(host_os): def map_host_arch_to_uname_arch(host_arch): if host_arch == "powerpc": return "ppc" + if host_arch == "powerpc64le": + return "ppc64le" if host_arch == "powerpc64": return "ppc64" return host_arch