| Message ID | 2b3d2b671a149cbeea2bdc9ba42192da2015c3b7.1765553842.git.steve@sakoman.com |
|---|---|
| State | RFC |
| Delegated to: | Steve Sakoman |
| Headers | show |
| Series | [scarthgap,1/7] classes/create-spdx-2.2: Define SPDX_VERSION to 2.2 | expand |
diff --git a/meta/lib/oe/go.py b/meta/lib/oe/go.py index 4559dc63b2..dfd957d157 100644 --- a/meta/lib/oe/go.py +++ b/meta/lib/oe/go.py @@ -7,10 +7,6 @@ import re def map_arch(a): - """ - Map our architecture names to Go's GOARCH names. - See https://github.com/golang/go/blob/master/src/internal/syslist/syslist.go for the complete list. - """ if re.match('i.86', a): return '386' elif a == 'x86_64': @@ -35,4 +31,4 @@ def map_arch(a): return 'riscv64' elif a == 'loongarch64': return 'loong64' - raise KeyError(f"Cannot map architecture {a}") + return ''