From b297c1aa4b68653b896e534357af46985ec0d7fc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Jul 2018 21:56:11 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/goarch.bbclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/classes') 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" COMPATIBLE_HOST_powerpc = "null" COMPATIBLE_HOST_powerpc64 = "null" COMPATIBLE_HOST_mipsarchn32 = "null" -ARM_INSTRUCTION_SET = "arm" + +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" +ARM_INSTRUCTION_SET_armv6 = "arm" + TUNE_CCARGS_remove = "-march=mips32r2" SECURITY_CFLAGS_mipsarch = "${SECURITY_NOPIE_CFLAGS}" SECURITY_NOPIE_CFLAGS ??= "" -- cgit v1.2.3-54-g00ecf