mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
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>
15 lines
553 B
PHP
15 lines
553 B
PHP
#
|
|
# Tune Settings for Cortex-M3
|
|
#
|
|
DEFAULTTUNE ?= "cortexm3"
|
|
|
|
TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mcpu=cortex-m3', '', d)}"
|
|
|
|
require conf/machine/include/arm/arch-armv7m.inc
|
|
|
|
AVAILTUNES += "cortexm3"
|
|
ARMPKGARCH:tune-cortexm3 = "cortexm3"
|
|
TUNE_FEATURES:tune-cortexm3 = "${TUNE_FEATURES:tune-armv7m} cortexm3"
|
|
PACKAGE_EXTRA_ARCHS:tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS:tune-armv7m} cortexm3"
|