diff options
Diffstat (limited to 'meta/lib/oe/rust.py')
| -rw-r--r-- | meta/lib/oe/rust.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oe/rust.py b/meta/lib/oe/rust.py new file mode 100644 index 0000000000..ec70b34805 --- /dev/null +++ b/meta/lib/oe/rust.py | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # Handle mismatches between `uname -m`-style output and Rust's arch names | ||
| 2 | def arch_to_rust_arch(arch): | ||
| 3 | if arch == "ppc64le": | ||
| 4 | return "powerpc64le" | ||
| 5 | return arch | ||
