summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-07-16 21:56:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-18 10:18:42 +0100
commitb297c1aa4b68653b896e534357af46985ec0d7fc (patch)
tree8056c001323519bd4bb851c79e4ffa22b7239f62 /meta/classes
parenta8ffa4a02c6408c80483b60ee76d3c98da52cf9a (diff)
downloadpoky-b297c1aa4b68653b896e534357af46985ec0d7fc.tar.gz
recipes: Enforce ARM ISA just for arm arches <= armv5
armv7+ used thumb2 ISA and it compiles fine with thumb2 issues are only when using thumb1 ISA (From OE-Core rev: c0ef8a91f671f30acd92e2734144f7ddf1acda53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/goarch.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index bb36cc8142..b2c94faddb 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -33,7 +33,11 @@ COMPATIBLE_HOST_linux-muslx32 = "null"
33COMPATIBLE_HOST_powerpc = "null" 33COMPATIBLE_HOST_powerpc = "null"
34COMPATIBLE_HOST_powerpc64 = "null" 34COMPATIBLE_HOST_powerpc64 = "null"
35COMPATIBLE_HOST_mipsarchn32 = "null" 35COMPATIBLE_HOST_mipsarchn32 = "null"
36ARM_INSTRUCTION_SET = "arm" 36
37ARM_INSTRUCTION_SET_armv4 = "arm"
38ARM_INSTRUCTION_SET_armv5 = "arm"
39ARM_INSTRUCTION_SET_armv6 = "arm"
40
37TUNE_CCARGS_remove = "-march=mips32r2" 41TUNE_CCARGS_remove = "-march=mips32r2"
38SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" 42SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}"
39SECURITY_NOPIE_CFLAGS ??= "" 43SECURITY_NOPIE_CFLAGS ??= ""