summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJagadeesh Krishnanjanappa <workjagadeesh@gmail.com>2022-01-16 22:49:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-31 21:56:01 +0000
commitd8385d1db5cc0a1ba512f5d95fe79da8d1a5a2f6 (patch)
tree56b49e7282ccacea83264a576a3937da5c012418 /meta
parentc2a47e0ca12cc9617eaf08e1ea07ab77e14bb28f (diff)
downloadpoky-d8385d1db5cc0a1ba512f5d95fe79da8d1a5a2f6.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) (From OE-Core rev: ee249ca4d5020c16100e07ee1b5974237de29e29) 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> [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/tune-cortexa72.inc16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/conf/machine/include/tune-cortexa72.inc b/meta/conf/machine/include/tune-cortexa72.inc
index b3f68ab6e3..7608a20c43 100644
--- a/meta/conf/machine/include/tune-cortexa72.inc
+++ b/meta/conf/machine/include/tune-cortexa72.inc
@@ -6,8 +6,16 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa72', ' -mcpu=corte
6require conf/machine/include/arm/arch-armv8a.inc 6require conf/machine/include/arm/arch-armv8a.inc
7 7
8# Little Endian base configs 8# Little Endian base configs
9AVAILTUNES += "cortexa72" 9AVAILTUNES += "cortexa72 cortexa72-crc cortexa72-crc-crypto"
10ARMPKGARCH_tune-cortexa72 = "cortexa72" 10ARMPKGARCH_tune-cortexa72 = "cortexa72"
11TUNE_FEATURES_tune-cortexa72 = "${TUNE_FEATURES_tune-armv8a-crc-crypto} cortexa72" 11ARMPKGARCH_tune-cortexa72-crc = "cortexa72"
12PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" 12ARMPKGARCH_tune-cortexa72-crc-crypto = "cortexa72"
13BASE_LIB_tune-cortexa72 = "lib64" 13TUNE_FEATURES_tune-cortexa72 = "${TUNE_FEATURES_tune-armv8a} cortexa72"
14TUNE_FEATURES_tune-cortexa72-crc = "${TUNE_FEATURES_tune-cortexa72} crc"
15TUNE_FEATURES_tune-cortexa72-crc-crypto = "${TUNE_FEATURES_tune-cortexa72} crc crypto"
16PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8} cortexa72"
17PACKAGE_EXTRA_ARCHS_tune-cortexa72-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72 cortexa72-crc"
18PACKAGE_EXTRA_ARCHS_tune-cortexa72-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72 cortexa72-crc cortexa72-crc-crypto"
19BASE_LIB_tune-cortexa72 = "lib64"
20BASE_LIB_tune-cortexa72-crc = "lib64"
21BASE_LIB_tune-cortexa72-crc-crypto = "lib64"