mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) 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"
|