mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 13:59:40 +01:00
* e.g. arm926ejs DEFAULT tune is compatible with all PACKAGE_EXTRA_ARCHS_tune-armv5te, but needs to list arm926ejs with all possible suffixes too (From OE-Core rev: ee3e85e3bdd382aca4ad8e2eece44064ee89dcff) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
609 B
PHP
15 lines
609 B
PHP
DEFAULTTUNE ?= "cortexm3"
|
|
|
|
require conf/machine/include/arm/arch-armv7a.inc
|
|
|
|
TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexm3", "-mtune=cortex-m3", "", d)}"
|
|
|
|
TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7m", "-march=armv7-m", "", d)}"
|
|
|
|
AVAILTUNES += "cortexm3"
|
|
ARMPKGARCH_tune-cortexm3 = "armv7m"
|
|
TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3"
|
|
PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp"
|