diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-09-08 18:04:35 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:30 +0100 |
commit | 8738f2bfb6a4a3eb97a3c6e0a07c554fabad3052 (patch) | |
tree | 62978814f676a2a9016f552cc794b4d5f4bfa543 /meta/classes | |
parent | 602f786ecdace325e8f4858b3e07e9bd79229e64 (diff) | |
download | poky-8738f2bfb6a4a3eb97a3c6e0a07c554fabad3052.tar.gz |
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/goarch.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 0f0d8b6a60..0c22f80518 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass | |||
@@ -50,6 +50,8 @@ def go_map_arm(a, f, d): | |||
50 | return '7' | 50 | return '7' |
51 | elif 'armv6' in f: | 51 | elif 'armv6' in f: |
52 | return '6' | 52 | return '6' |
53 | elif 'armv5' in f: | ||
54 | return '5' | ||
53 | return '' | 55 | return '' |
54 | 56 | ||
55 | def go_map_os(o, d): | 57 | def go_map_os(o, d): |