summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc')
-rw-r--r--meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc
new file mode 100644
index 0000000000..4394adab0b
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc
@@ -0,0 +1,18 @@
1#
2# Tune Settings for Cortex-M35P
3#
4DEFAULTTUNE ?= "cortexm35p"
5
6TUNEVALID[cortexm35p] = "Enable Cortex-M35p specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm35p', ' -mcpu=cortex-m35p', '', d)}"
8
9require conf/machine/include/arm/arch-armv8m-main.inc
10
11# GCC thnks that DSP and VFP are required, but Arm docs say it is
12# optional. So forcing below so that compiling works, but this should
13# be fixed in GCC
14AVAILTUNES += "cortexm35p"
15ARMPKGARCH:tune-cortexm35p = "cortexm35p"
16# We do not want -march since -mcpu is added above to cover for it
17TUNE_FEATURES:tune-cortexm35p = "vfpv5spd16 dsp cortexm35p"
18PACKAGE_EXTRA_ARCHS:tune-cortexm35p = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm35pe-fpv5-spd16"