mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-09 17:40:46 +00:00
7e67045530
Until accepted into oe-core, add the cortex-m tunes here so that they can be used in meta-arm-bsp. Change-Id: Iaa74937da61cd8d35c27beae7e09351e996a262e Signed-off-by: Jon Mason <jon.mason@arm.com>
16 lines
554 B
PHP
Executable File
16 lines
554 B
PHP
Executable File
#
|
|
# 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"
|