diff options
-rw-r--r-- | meta/conf/machine/include/tune-cortex-m0.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortex-m0.inc b/meta/conf/machine/include/tune-cortex-m0.inc new file mode 100644 index 0000000000..a59c8af941 --- /dev/null +++ b/meta/conf/machine/include/tune-cortex-m0.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "cortexm0" | ||
2 | require conf/machine/include/arm/arch-armv6m.inc | ||
3 | |||
4 | TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations" | ||
5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}" | ||
6 | AVAILTUNES += "cortexm0" | ||
7 | |||
8 | ARMPKGARCH_tune-cortexm0 = "cortexm0" | ||
9 | TUNE_FEATURES_tune-cortexm0 = "${TUNE_FEATURES_tune-armv6m} cortexm0" | ||
10 | |||
11 | PACKAGE_EXTRA_ARCHS_tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} cortexm0" | ||