diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-07-16 21:56:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-18 10:18:42 +0100 |
commit | b297c1aa4b68653b896e534357af46985ec0d7fc (patch) | |
tree | 8056c001323519bd4bb851c79e4ffa22b7239f62 /meta/classes/goarch.bbclass | |
parent | a8ffa4a02c6408c80483b60ee76d3c98da52cf9a (diff) | |
download | poky-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/goarch.bbclass')
-rw-r--r-- | meta/classes/goarch.bbclass | 6 |
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" | |||
33 | COMPATIBLE_HOST_powerpc = "null" | 33 | COMPATIBLE_HOST_powerpc = "null" |
34 | COMPATIBLE_HOST_powerpc64 = "null" | 34 | COMPATIBLE_HOST_powerpc64 = "null" |
35 | COMPATIBLE_HOST_mipsarchn32 = "null" | 35 | COMPATIBLE_HOST_mipsarchn32 = "null" |
36 | ARM_INSTRUCTION_SET = "arm" | 36 | |
37 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
38 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
39 | ARM_INSTRUCTION_SET_armv6 = "arm" | ||
40 | |||
37 | TUNE_CCARGS_remove = "-march=mips32r2" | 41 | TUNE_CCARGS_remove = "-march=mips32r2" |
38 | SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" | 42 | SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" |
39 | SECURITY_NOPIE_CFLAGS ??= "" | 43 | SECURITY_NOPIE_CFLAGS ??= "" |