aboutsummaryrefslogtreecommitdiff
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-13 22:12:19 +0100
commit24da8c321831dcc5de00d65d6c5613efee109b57 (patch)
tree799e43ce4988cf8fd57ad8f5fd6633d04b1adfa7
parent2343cd90b9706589b33510c560ed83a9648fb133 (diff)
downloadopenembedded-core-24da8c321831dcc5de00d65d6c5613efee109b57.zip
openembedded-core-24da8c321831dcc5de00d65d6c5613efee109b57.tar.gz
openembedded-core-24da8c321831dcc5de00d65d6c5613efee109b57.tar.bz2
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. 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 bfba3c9..8b95c5f 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -27,6 +27,7 @@ COMPATIBLE_HOST_linux-gnux32 = "null"
COMPATIBLE_HOST_linux-muslx32 = "null"
COMPATIBLE_HOST_powerpc = "null"
COMPATIBLE_HOST_powerpc64 = "null"
+ARM_INSTRUCTION_SET = "arm"
def go_map_arch(a, d):
import re