diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-18 15:50:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-28 09:22:35 +0100 |
commit | 3e7d26e31a724009e69788460737e07163a14051 (patch) | |
tree | 5f09084cfd5a3cdc2bb7359904d01ff04a6b2be5 /meta/conf/machine/include/arm | |
parent | 16f060c56f509ab1c4a77dfbe02d5cd77c977d54 (diff) | |
download | poky-3e7d26e31a724009e69788460737e07163a14051.tar.gz |
arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above
Although there may still be specific cases which can benefit from the
ARM instruction set, the Thumb2 instruction set is generally a better
default for armv7a class CPUs. Distros such as Debian and Fedora have
been targeting Thumb2 by default for some time.
Note that setting ARM_INSTRUCTION_SET has no effect unless
TUNE_FEATURES contains "thumb" (which is controlled by the "t" suffix
in DEFAULTTUNE, e.g. armv7vehf-neon -vs- armv7vethf-neon, etc) so out
of tree machine configs may need to update their DEFAULTTUNE to take
advantage of this change.
(From OE-Core rev: c88304a78e528596ca481cabe273749c286c352a)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv7a.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv7a.inc b/meta/conf/machine/include/arm/arch-armv7a.inc index bad1c27059..a2663d8008 100644 --- a/meta/conf/machine/include/arm/arch-armv7a.inc +++ b/meta/conf/machine/include/arm/arch-armv7a.inc | |||
@@ -1,4 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7athf" | 1 | DEFAULTTUNE ?= "armv7athf" |
2 | ARM_INSTRUCTION_SET ?= "thumb" | ||
2 | 3 | ||
3 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" | 4 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" |
4 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" | 5 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" |