]> code.ossystems Code Review - openembedded-core.git/commitdiff
goarch.bbclass: set ARM_INSTRUCTION_SET to "arm"
authorMatt Madison <matt@madison.systems>
Wed, 13 Sep 2017 17:54:09 +0000 (14:54 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Sep 2017 21:12:19 +0000 (22:12 +0100)
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>
meta/classes/goarch.bbclass

index bfba3c97230d9bf9e35f009b4abe33e9f6b19ba8..8b95c5fe94b1508f4f60f690af4a91a7c38a729a 100644 (file)
@@ -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