diff options
| author | Jon Mason <jdmason@kudzu.us> | 2021-08-10 17:36:33 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-13 14:44:06 +0100 |
| commit | dac9318c5a7145bf499bcc2463e21ddcd63c2331 (patch) | |
| tree | e0dbc703159892d24225193f84e5e3e4805e46e3 /meta/conf/machine/include/arm/armv8-1m | |
| parent | 7c88e08e62d526b109f2286f13f9da13e60a8c0f (diff) | |
| download | poky-dac9318c5a7145bf499bcc2463e21ddcd63c2331.tar.gz | |
tune-cortexm*: add support for all Arm Cortex-M processors
Add tune entries for all Arm Cortex-M processors currently supported in
GCC (that are not currently present). The ARMv7 entries were added in
conf/machine/include/ to match the existing Cortex-M and Cortex-A tune
files. The ARMv8 entries were added to conf/machine/include/arm/armv8-m
to match how ARMv8 was done for Cortex-A processor tune files.
(From OE-Core rev: a9ff58f4cc1b45145fc1576c7eacabaea64b7bd4)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/armv8-1m')
| -rw-r--r-- | meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc b/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc new file mode 100644 index 0000000000..493ad67b21 --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # | ||
| 2 | # Tune Settings for Cortex-M55 | ||
| 3 | # | ||
| 4 | DEFAULTTUNE ?= "cortexm55" | ||
| 5 | |||
| 6 | TUNEVALID[cortexm55] = "Enable Cortex-M55 specific processor optimizations" | ||
| 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm55', ' -mcpu=cortex-m55', '', d)}" | ||
| 8 | |||
| 9 | require conf/machine/include/arm/arch-armv8-1m-main.inc | ||
| 10 | |||
| 11 | AVAILTUNES += "cortexm55" | ||
| 12 | ARMPKGARCH:tune-cortexm55 = "cortexm55" | ||
| 13 | TUNE_FEATURES:tune-cortexm55 = "${TUNE_FEATURES:tune-armv8-1m-main} cortexm55" | ||
| 14 | PACKAGE_EXTRA_ARCHS:tune-cortexm55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-1m-main} cortexm55" | ||
