mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
OE-core previously carried patches to glibc that added optimized sqrt
implementations for various PowerPC chips. These were recently removed,
which now results in errors when compiling glibc with certian PowerPC
machine tunes:
checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.
Remove setting GLIBC_EXTRA_OECONF with parameters that are no longer
valid. Also remove a commented out setting of the variable that probably
isn't vaild anyway.
Fixes: 2511e937f445 ("glibc: Drop ppc sqrt optimisations")
(From OE-Core rev: 40f15066c24720aae36713c9856ffb4fae146a45)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
566 B
PHP
15 lines
566 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"
|
|
|
|
# pass -mcpu=e500mc for ppce500mc kernel cross compile
|
|
TARGET_CC_KERNEL_ARCH = "-mcpu=e500mc"
|