summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2017-09-13 14:54:09 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-14 11:35:45 +0100
commite6542356b461b510f913eecd3850c075764acc3a (patch)
treefd1970f9ac79c5e851114f93bbc408a0b6d0892a
parenta9fdf491ca97368d60c1a055ec33055480233232 (diff)
downloadpoky-e6542356b461b510f913eecd3850c075764acc3a.tar.gz
goarch.bbclass: set ARM_INSTRUCTION_SET to "arm"
Go does not play well with thumb, so ensure that the toolchain and any packages use arm, not thumb, instructions. (From OE-Core rev: 24da8c321831dcc5de00d65d6c5613efee109b57) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/goarch.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index bfba3c9723..8b95c5fe94 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -27,6 +27,7 @@ COMPATIBLE_HOST_linux-gnux32 = "null"
27COMPATIBLE_HOST_linux-muslx32 = "null" 27COMPATIBLE_HOST_linux-muslx32 = "null"
28COMPATIBLE_HOST_powerpc = "null" 28COMPATIBLE_HOST_powerpc = "null"
29COMPATIBLE_HOST_powerpc64 = "null" 29COMPATIBLE_HOST_powerpc64 = "null"
30ARM_INSTRUCTION_SET = "arm"
30 31
31def go_map_arch(a, d): 32def go_map_arch(a, d):
32 import re 33 import re