]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
tune-cortexr52: Add hard-float variant
authorMark Hatle <mark.hatle@amd.com>
Thu, 1 Feb 2024 20:45:53 +0000 (14:45 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Feb 2024 21:41:19 +0000 (21:41 +0000)
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>
meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc

index 02507d9b78a4eaba2c66470ca9478b5a874e719b..89f0e0945017f83bca7ef056b649654226baf54f 100644 (file)
@@ -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"