diff options
author | Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com> | 2021-12-07 12:00:02 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-08 20:22:11 +0000 |
commit | 4e26e51a3d90790c8ade8817a2ba6f0b03f05c12 (patch) | |
tree | bd1a68498d202bb33fd6161a812e5b3c7b42005f /meta/conf/machine | |
parent | 2ce06739ed3a786b9353b1c61f06c31393e7927a (diff) | |
download | poky-4e26e51a3d90790c8ade8817a2ba6f0b03f05c12.tar.gz |
tune-cortexa72: remove crypto for the default cortex-a72
The cryptographic unit is optional for the Cortex-A72, but it was
included by default previously. This breaks building systems that
lack this functionality when using tune-cortexa72.inc.
To correct this, add a crypto entry in the tune file. Since CRC is
optional for ARMv8.0, do the same thing while we're at it.
For platforms that had been happily using tune-cortexa72.inc, a slight
degradation of performance will occur using the default. To correct
this, simply add:
DEFAULTTUNE = "cortexa72-crc-crypto"
(From OE-Core rev: 2568d537087adb0b592aa250bf628a7b48c3a9d3)
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us> (rewording commit message)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc index 2a510bd45b..3651cf6e80 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc | |||
@@ -6,8 +6,16 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa72', ' -mcpu=corte | |||
6 | require conf/machine/include/arm/arch-armv8a.inc | 6 | require conf/machine/include/arm/arch-armv8a.inc |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa72" | 9 | AVAILTUNES += "cortexa72 cortexa72-crc cortexa72-crc-crypto" |
10 | ARMPKGARCH:tune-cortexa72 = "cortexa72" | 10 | ARMPKGARCH:tune-cortexa72 = "cortexa72" |
11 | TUNE_FEATURES:tune-cortexa72 = "${TUNE_FEATURES:tune-armv8a-crc-crypto} cortexa72" | 11 | ARMPKGARCH:tune-cortexa72-crc = "cortexa72" |
12 | PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72" | 12 | ARMPKGARCH:tune-cortexa72-crc-crypto = "cortexa72" |
13 | BASE_LIB:tune-cortexa72 = "lib64" | 13 | TUNE_FEATURES:tune-cortexa72 = "${TUNE_FEATURES:tune-armv8a} cortexa72" |
14 | TUNE_FEATURES:tune-cortexa72-crc = "${TUNE_FEATURES:tune-cortexa72} crc" | ||
15 | TUNE_FEATURES:tune-cortexa72-crc-crypto = "${TUNE_FEATURES:tune-cortexa72} crc crypto" | ||
16 | PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8} cortexa72" | ||
17 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-crc = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72 cortexa72-crc" | ||
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72 cortexa72-crc cortexa72-crc-crypto" | ||
19 | BASE_LIB:tune-cortexa72 = "lib64" | ||
20 | BASE_LIB:tune-cortexa72-crc = "lib64" | ||
21 | BASE_LIB:tune-cortexa72-crc-crypto = "lib64" | ||