aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/arch-armv5.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-01-02 23:40:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 10:54:01 +0000
commit49bc3eab2897307a92b538a045e3d4dce245b0e0 (patch)
tree1238cbab7c081de26bae19db35c5e9436dd2125a /meta/conf/machine/include/arm/arch-armv5.inc
parent8197d0f638a760fc03062c7a9009117d083d7ead (diff)
downloadopenembedded-core-contrib-49bc3eab2897307a92b538a045e3d4dce245b0e0.tar.gz
openembedded-core-contrib-49bc3eab2897307a92b538a045e3d4dce245b0e0.tar.bz2
openembedded-core-contrib-49bc3eab2897307a92b538a045e3d4dce245b0e0.zip
arch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to tie this to exclusively generating thumb ISA, this change means that when we have thumb in tune features then it can use 't' in -march options irrespective of ISA being thumb or arm. This fixes derivative of armv5 tunes and paves way for gcc9 where e.g. armv5e is dropped and minimum arch supported is armv5te Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/arch-armv5.inc')
-rw-r--r--meta/conf/machine/include/arm/arch-armv5.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv5.inc b/meta/conf/machine/include/arm/arch-armv5.inc
index 46f631c819..f9068af9de 100644
--- a/meta/conf/machine/include/arm/arch-armv5.inc
+++ b/meta/conf/machine/include/arm/arch-armv5.inc
@@ -2,7 +2,7 @@ DEFAULTTUNE ?= "armv5"
TUNEVALID[armv5] = "Enable instructions for ARMv5"
TUNECONFLICTS[armv5] = "armv4"
-TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv5', ' -march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}', '', d)}"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv5', ' -march=armv5t${ARMPKGSFX_DSP}', '', d)}"
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv5', 'armv5:', '' ,d)}"
require conf/machine/include/arm/arch-armv4.inc