summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc')
-rw-r--r--meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc b/meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc
new file mode 100644
index 0000000000..e86622ff3d
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv7m/tune-cortexm4.inc
@@ -0,0 +1,14 @@
1#
2# Tune Settings for Cortex-M4
3#
4DEFAULTTUNE ?= "cortexm4"
5
6TUNEVALID[cortexm4] = "Enable Cortex-M4 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm4', ' -mcpu=cortex-m4', '', d)}"
8
9require conf/machine/include/arm/arch-armv7em.inc
10
11AVAILTUNES += "cortexm4"
12ARMPKGARCH:tune-cortexm4 = "cortexm4"
13TUNE_FEATURES:tune-cortexm4 = "${TUNE_FEATURES:tune-armv7em} cortexm4"
14PACKAGE_EXTRA_ARCHS:tune-cortexm4 = "${PACKAGE_EXTRA_ARCHS:tune-armv7em} cortexm4"