summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Richardson <jonathan.richardson@broadcom.com>2020-09-23 15:31:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-28 14:15:48 +0100
commitb089c8f39df84e9ad0c760619ec44e6d60eb05f4 (patch)
treec2dc0d5bffecdf384588eb2d472d42d9b94c9362
parentfd17e5459d4f8eeb8004756a6c6c646ac2ac3bee (diff)
downloadpoky-b089c8f39df84e9ad0c760619ec44e6d60eb05f4.tar.gz
cortex-m0.inc: Add tuning for cortex-m0
Add tuning for ARM cortex-m0. (From OE-Core rev: 8964fa6491f54602b3789e5314f4dab7213eaa0e) Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/include/tune-cortex-m0.inc11
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 @@
1DEFAULTTUNE ?= "cortexm0"
2require conf/machine/include/arm/arch-armv6m.inc
3
4TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations"
5TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}"
6AVAILTUNES += "cortexm0"
7
8ARMPKGARCH_tune-cortexm0 = "cortexm0"
9TUNE_FEATURES_tune-cortexm0 = "${TUNE_FEATURES_tune-armv6m} cortexm0"
10
11PACKAGE_EXTRA_ARCHS_tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} cortexm0"