diff options
Diffstat (limited to 'meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc')
-rw-r--r-- | meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc new file mode 100644 index 0000000000..e83e0ba68a --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | # | ||
2 | # Tune Settings for Cortex-M23 | ||
3 | # | ||
4 | DEFAULTTUNE ?= "cortexm23" | ||
5 | |||
6 | TUNEVALID[cortexm23] = "Enable Cortex-M23 specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm23', ' -mcpu=cortex-m23', '', d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv8m-base.inc | ||
10 | |||
11 | AVAILTUNES += "cortexm23" | ||
12 | ARMPKGARCH:tune-cortexm23 = "cortexm23" | ||
13 | # We do not want -march since -mcpu is added above to cover for it | ||
14 | TUNE_FEATURES:tune-cortexm23 = "cortexm23" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexm23 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-base} cortexm23" | ||