mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 18:53:13 +01:00
Cleanup the ARM tunings to match the new tunings README file. The ARM tunings define TUNE_PKGARCH in a way that only one main arm architecture, i.e. armv6, may be defined at the same time. We may have to revise these settings in the future, as well as figure out a way to better differentiate various optimize tunings in the package arch. (This was not done, to preserve existing behavior!) Fix a number of minor issues w/ the armv5 tunings where DSP variants were referenced but not defined. Fix incorrect armv7 entries in armv7a. Fix PACKAGE_EXTRA_ARCHS definitions inside of tune-cortexm3 and tune-cortexr4. (From OE-Core rev: 0e71abea5458122188d5eddef2c17147f61ff895) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
597 B
PHP
16 lines
597 B
PHP
DEFAULTTUNE ?= "cortexm3"
|
|
ARMPKGARCH ?= "armv7m"
|
|
|
|
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"
|
|
TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3"
|
|
PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp"
|
|
|