mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 20:09:41 +01: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>
18 lines
738 B
PHP
18 lines
738 B
PHP
DEFAULTTUNE ?= "ppce500mc"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', ' -mcpu=e500mc', '', d)}"
|
|
|
|
AVAILTUNES += "ppce500mc"
|
|
TUNE_FEATURES:tune-ppce500mc = "m32 fpu-hard ppce500mc bigendian"
|
|
TUNE_PKGARCH:tune-ppce500mc = "ppce500mc"
|
|
PACKAGE_EXTRA_ARCHS:tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS:tune-powerpc} ppce500mc"
|
|
|
|
# glibc configure options to get e500mc specific library (for sqrt)
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', '-with-cpu=e500mc', '', d)}"
|
|
|
|
# pass -mcpu=e500mc for ppce500mc kernel cross compile
|
|
TARGET_CC_KERNEL_ARCH = "-mcpu=e500mc"
|