[OE-core] [PATCH 4/7] goarch.bbclass: Add support for ARMv5
Otavio Salvador
otavio at ossystems.com.br
Mon Sep 4 21:06:05 UTC 2017
This adds support to return the proper ARMv5 format.
This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt at madison.systems> for his work on this.
1. https://github.com/madisongh/meta-golang
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
meta/classes/goarch.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 7960ac5f9e..dbec6ee2c8 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -47,6 +47,8 @@ def go_map_arm(a, f, d):
import re
if re.match('arm.*', a) and re.match('arm.*7.*', f):
return '7'
+ if re.match('arm.*', a) and re.match('arm.*5.*', f):
+ return '5'
return ''
def go_map_os(o, d):
--
2.14.1
More information about the Openembedded-core
mailing list