goarch.bbclass: Add support for ARMv5

This adds support to return the proper ARMv5 format.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt@madison.systems> for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: e242e7c3617ded87582c5d384b15027498b0c1a4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador
2017-09-08 18:04:35 -03:00
committed by Richard Purdie
parent 602f786ecd
commit 8738f2bfb6

View File

@@ -50,6 +50,8 @@ def go_map_arm(a, f, d):
return '7'
elif 'armv6' in f:
return '6'
elif 'armv5' in f:
return '5'
return ''
def go_map_os(o, d):