]> code.ossystems Code Review - openembedded-core.git/commitdiff
goarch.bbclass: Add support for ARMv5
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 8 Sep 2017 21:04:35 +0000 (18:04 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 16:30:14 +0000 (17:30 +0100)
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

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/goarch.bbclass

index 0f0d8b6a60e0ddbc9894f4c8c2c8df8123ebc3bb..0c22f805183407338ea2e04a2474d11642bc086d 100644 (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):