From: Matt Madison Date: Wed, 13 Sep 2017 17:54:09 +0000 (-0300) Subject: goarch.bbclass: set ARM_INSTRUCTION_SET to "arm" X-Git-Tag: 2017-10~219 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=24da8c321831dcc5de00d65d6c5613efee109b57;p=openembedded-core.git 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 Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- 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" 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