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