mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-27 07:27:04 +00:00
9a7ab6a47e
Fix the cortex-m tunes to actually function properly. Tested with meta-zephyr on musca-b1. Change-Id: Ib797cafc4f82f6a525cf6b9c0ce4a302a9ef65c2 Signed-off-by: Jon Mason <jon.mason@arm.com>
15 lines
553 B
PHP
Executable File
15 lines
553 B
PHP
Executable File
#
|
|
# Tune Settings for Cortex-M1
|
|
#
|
|
DEFAULTTUNE ?= "cortexm1"
|
|
|
|
TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mcpu=cortex-m1', '', d)}"
|
|
|
|
require conf/machine/include/arm/arch-armv6m.inc
|
|
|
|
AVAILTUNES += "cortexm1"
|
|
ARMPKGARCH_tune-cortexm1 = "cortexm1"
|
|
TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv6m} cortexm1"
|
|
PACKAGE_EXTRA_ARCHS_tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} cortexm1"
|