diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-02-01 14:45:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-03 21:43:35 +0000 |
commit | 4cbec71b06e0758137fd483a0b44eeba3bca1a94 (patch) | |
tree | 4e913b67217ae13f9f9b70e05e1b85753e2a990e /meta/conf/machine | |
parent | 8e841dbcc37cc8116039563335584acf6e271ff2 (diff) | |
download | poky-4cbec71b06e0758137fd483a0b44eeba3bca1a94.tar.gz |
tune-cortexa78.inc: Add cortexa78 tune, based on cortexa77
(From OE-Core rev: 6750384cbb4f8d90c8c32a85db66e8e3344d4ce6)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc new file mode 100644 index 0000000000..198b94c679 --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Tune Settings for Cortex-A78 | ||
3 | # | ||
4 | DEFAULTTUNE ?= "cortexa78" | ||
5 | |||
6 | TUNEVALID[cortexa78] = "Enable Cortex-A78 specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa78', ' -mcpu=cortex-a78', '', d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv8-2a.inc | ||
10 | |||
11 | # Little Endian base configs | ||
12 | AVAILTUNES += "cortexa78" | ||
13 | ARMPKGARCH:tune-cortexa78 = "cortexa78" | ||
14 | # We do not want -march since -mcpu is added above to cover for it | ||
15 | TUNE_FEATURES:tune-cortexa78 = "aarch64 crypto cortexa78" | ||
16 | PACKAGE_EXTRA_ARCHS:tune-cortexa78 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa78" | ||
17 | BASE_LIB:tune-cortexa78 = "lib64" | ||