diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-13 00:57:19 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-14 16:33:59 +0000 |
commit | 9d3f6fe2d2fd93c88eff8ccbd160db103e575e3f (patch) | |
tree | e1992fa442be05b522483a0f665ea5fdb17dc52c /meta/classes/cmake.bbclass | |
parent | cfd71413e5e3c8ecd9460aa67c6a7f07ec022651 (diff) | |
download | poky-9d3f6fe2d2fd93c88eff8ccbd160db103e575e3f.tar.gz |
cmake.bbclass: Create cmake arch mapping for ppc64le
(From OE-Core rev: 698ece14e22d0efd9074493ef443b2cce5625d51)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 4af22268b7..70e4f3b6fd 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -81,6 +81,8 @@ def map_host_os_to_system_name(host_os): | |||
81 | def map_host_arch_to_uname_arch(host_arch): | 81 | def map_host_arch_to_uname_arch(host_arch): |
82 | if host_arch == "powerpc": | 82 | if host_arch == "powerpc": |
83 | return "ppc" | 83 | return "ppc" |
84 | if host_arch == "powerpc64le": | ||
85 | return "ppc64le" | ||
84 | if host_arch == "powerpc64": | 86 | if host_arch == "powerpc64": |
85 | return "ppc64" | 87 | return "ppc64" |
86 | return host_arch | 88 | return host_arch |