diff options
author | Jon Mason <jdmason@kudzu.us> | 2021-08-18 22:52:20 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-20 08:53:03 +0100 |
commit | ff0ea5633a8f1d9e5d709cae9b16482c6be4adcf (patch) | |
tree | 822c29ffc23f869a738f0f9ea1c1fcf2433d76e8 /meta/conf/machine/include/arm/arch-armv7ve.inc | |
parent | a3c1be72af66ba8dd1b1393f10dd1c13c7cb9509 (diff) | |
download | poky-ff0ea5633a8f1d9e5d709cae9b16482c6be4adcf.tar.gz |
arch-arm*: add better support for gcc march extensions
GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march. For example
"-march=armv7ve+simd" adds SIMD to ARMv7. Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS. By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.
Also, expand existing and create new feature files that use these
variables to expand the functionality.
(From OE-Core rev: 794eb617bfd1997e7a3498812c63a20c58a10554)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/arch-armv7ve.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv7ve.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv7ve.inc b/meta/conf/machine/include/arm/arch-armv7ve.inc index b40c2ca8ad..8102ae6085 100644 --- a/meta/conf/machine/include/arm/arch-armv7ve.inc +++ b/meta/conf/machine/include/arm/arch-armv7ve.inc | |||
@@ -2,7 +2,7 @@ DEFAULTTUNE ?= "armv7vethf" | |||
2 | 2 | ||
3 | TUNEVALID[armv7ve] = "Enable instructions for ARMv7ve" | 3 | TUNEVALID[armv7ve] = "Enable instructions for ARMv7ve" |
4 | TUNECONFLICTS[armv7ve] = "armv4 armv5 armv6 armv7 armv7a" | 4 | TUNECONFLICTS[armv7ve] = "armv4 armv5 armv6 armv7 armv7a" |
5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7ve', ' -march=armv7ve', '', d)}" | 5 | TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7ve', ' -march=armv7ve', '', d)}" |
6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7ve', 'armv7ve:', '', d)}" | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7ve', 'armv7ve:', '', d)}" |
7 | 7 | ||
8 | require conf/machine/include/arm/arch-armv7a.inc | 8 | require conf/machine/include/arm/arch-armv7a.inc |