diff options
| -rw-r--r-- | meta/lib/oe/go.py | 6 |
1 files changed, 1 insertions, 5 deletions
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 @@ | |||
| 7 | import re | 7 | import re |
| 8 | 8 | ||
| 9 | def map_arch(a): | 9 | def map_arch(a): |
| 10 | """ | ||
| 11 | Map our architecture names to Go's GOARCH names. | ||
| 12 | See https://github.com/golang/go/blob/master/src/internal/syslist/syslist.go for the complete list. | ||
| 13 | """ | ||
| 14 | if re.match('i.86', a): | 10 | if re.match('i.86', a): |
| 15 | return '386' | 11 | return '386' |
| 16 | elif a == 'x86_64': | 12 | elif a == 'x86_64': |
| @@ -35,4 +31,4 @@ def map_arch(a): | |||
| 35 | return 'riscv64' | 31 | return 'riscv64' |
| 36 | elif a == 'loongarch64': | 32 | elif a == 'loongarch64': |
| 37 | return 'loong64' | 33 | return 'loong64' |
| 38 | raise KeyError(f"Cannot map architecture {a}") | 34 | return '' |
