mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
Move all of the tune files found in conf/machine/include into their respective architecture directories in that same location. All references to these will need to be updated. So, change the relevant ones for this tree in this commit as well. For the ARM tunes, nest them one further into armv8a, armv8m, etc. and rename some to make them uniform with the rest of the tunes. (From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
1.1 KiB
PHP
24 lines
1.1 KiB
PHP
DEFAULTTUNE ?= "ppce300c3"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
AVAILTUNES += "ppce300c3 ppce300c3-nf"
|
|
|
|
# hard-float
|
|
TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations"
|
|
TUNE_FEATURES:tune-ppce300c3 = "${TUNE_FEATURES:tune-powerpc} ppce300c3"
|
|
TUNE_PKGARCH:tune-ppce300c3 = "ppce300c3"
|
|
PACKAGE_EXTRA_ARCHS:tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS:tune-powerpc} ppce300c3"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3', ' -mcpu=e300c3', '', d)}"
|
|
|
|
# glibc config options to make use of e300c3 (603e) specific sqrt/sqrtf routines
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3', '--with-cpu=e300c3', '', d)}"
|
|
|
|
# soft-float
|
|
TUNEVALID[ppce300c3-nf] = "Enable ppce300c3 specific processor optimizations (no fpu)"
|
|
TUNE_FEATURES:tune-ppce300c3-nf = "${TUNE_FEATURES:tune-powerpc-nf} ppce300c3-nf"
|
|
TUNE_PKGARCH:tune-ppce300c3-nf = "ppce300c3-nf"
|
|
PACKAGE_EXTRA_ARCHS:tune-ppce300c3-nf = "${PACKAGE_EXTRA_ARCHS:tune-powerpc-nf} ppce300c3-nf"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3-nf', ' -mcpu=e300c3', '', d)}"
|
|
|