diff options
author | Jonathan Richardson <jonathan.richardson@broadcom.com> | 2020-09-23 15:31:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-28 14:15:48 +0100 |
commit | b089c8f39df84e9ad0c760619ec44e6d60eb05f4 (patch) | |
tree | c2dc0d5bffecdf384588eb2d472d42d9b94c9362 | |
parent | fd17e5459d4f8eeb8004756a6c6c646ac2ac3bee (diff) | |
download | poky-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.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" | ||