summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc')
-rw-r--r--meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc20
1 files changed, 20 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
new file mode 100644
index 0000000000..89f0e09450
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc
@@ -0,0 +1,20 @@
1#
2# Tune Settings for Cortex-R52
3#
4DEFAULTTUNE ?= "cortexr52"
5
6TUNEVALID[cortexr52] = "Enable Cortex-R52 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr52', ' -mcpu=cortex-r52', '', d)}"
8
9require conf/machine/include/arm/arch-armv8r.inc
10
11AVAILTUNES += "cortexr52"
12ARMPKGARCH:tune-cortexr52 = "cortexr52"
13# We do not want -march since -mcpu is added above to cover for it
14TUNE_FEATURES:tune-cortexr52 = "aarch64 crc simd cortexr52"
15PACKAGE_EXTRA_ARCHS:tune-cortexr52 = "${PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-simd} cortexr52"
16
17AVAILTUNES += "cortexr52hf"
18ARMPKGARCH:tune-cortexr52hf = "cortexr52"
19TUNE_FEATURES:tune-cortexr52hf = "${TUNE_FEATURES:tune-cortexr52} callconvention-hard"
20PACKAGE_EXTRA_ARCHS:tune-cortexr52hf = "cortexr52hf"