diff options
Diffstat (limited to 'meta/conf/machine/include/tune-cortexm3.inc')
-rw-r--r-- | meta/conf/machine/include/tune-cortexm3.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc new file mode 100644 index 0000000000..cbc4c0dd49 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexm3.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DEFAULTTUNE ?= "cortexm3" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexm3", " -mtune=cortex-m3", "", d)}" | ||
7 | |||
8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7m", " -march=armv7-m", "", d)}" | ||
10 | |||
11 | AVAILTUNES += "cortexm3" | ||
12 | ARMPKGARCH_tune-cortexm3 = "armv7m" | ||
13 | TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" | ||