summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-02-01 14:45:53 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-03 21:41:19 +0000
commitbe83bc937a76efaead4690237db25459a57673fc (patch)
tree9622ba5b56a910382b02190c68877158f6e2b1f5 /meta/conf/machine
parent992149023a896ecb38d07c54fa9ae9df82249a07 (diff)
downloadopenembedded-core-be83bc937a76efaead4690237db25459a57673fc.tar.gz
tune-cortexr52: Add hard-float variant
Add the ability to specify cortexr52hf to get a version that enables the hard-float calling convention. 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/armv8r/tune-cortexr52.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc b/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc
index 02507d9b78..89f0e09450 100644
--- a/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc
+++ b/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc
@@ -13,3 +13,8 @@ ARMPKGARCH:tune-cortexr52 = "cortexr52"
# We do not want -march since -mcpu is added above to cover for it
TUNE_FEATURES:tune-cortexr52 = "aarch64 crc simd cortexr52"
PACKAGE_EXTRA_ARCHS:tune-cortexr52 = "${PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-simd} cortexr52"
+
+AVAILTUNES += "cortexr52hf"
+ARMPKGARCH:tune-cortexr52hf = "cortexr52"
+TUNE_FEATURES:tune-cortexr52hf = "${TUNE_FEATURES:tune-cortexr52} callconvention-hard"
+PACKAGE_EXTRA_ARCHS:tune-cortexr52hf = "cortexr52hf"