[OE-core] [PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for cortexa7
Mark Asselstine
mark.asselstine at windriver.com
Wed Mar 13 17:57:06 UTC 2019
The cortexa7 tunings use 'cortexa7' in their tunings and do not
include 'arm7' so we need to look for both when setting TARGET_GOARM.
Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
meta/classes/goarch.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 39fea5e..077c967 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -74,7 +74,7 @@ def go_map_arch(a, d):
def go_map_arm(a, f, d):
import re
if re.match('arm.*', a):
- if 'armv7' in f:
+ if 'armv7' or 'cortexa7' in f:
return '7'
elif 'armv6' in f:
return '6'
--
2.7.4
More information about the Openembedded-core
mailing list