diff options
Diffstat (limited to 'meta/classes/goarch.bbclass')
-rw-r--r-- | meta/classes/goarch.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass index 7960ac5f9e..0f0d8b6a60 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass | |||
@@ -45,8 +45,11 @@ def go_map_arch(a, d): | |||
45 | 45 | ||
46 | def go_map_arm(a, f, d): | 46 | def go_map_arm(a, f, d): |
47 | import re | 47 | import re |
48 | if re.match('arm.*', a) and re.match('arm.*7.*', f): | 48 | if re.match('arm.*', a): |
49 | return '7' | 49 | if 'armv7' in f: |
50 | return '7' | ||
51 | elif 'armv6' in f: | ||
52 | return '6' | ||
50 | return '' | 53 | return '' |
51 | 54 | ||
52 | def go_map_os(o, d): | 55 | def go_map_os(o, d): |