mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
Cleanup the PowerPC tunings to match the new tuning README file.
Default PowerPC to using TUNE_PKGARCH = ${TUNE_PKGARCH_tune-<tune>}
Fix AVAILTUNE settings in ppc603e, and ppce500mc to be addative.
Correct potentially overlapping "spe" definitions in ppce500 and ppce500v2.
(From OE-Core rev: f81f71bcff4bb1032b034b068efe6065113ca9e7)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
879 B
HTML
21 lines
879 B
HTML
DEFAULTTUNE ?= "ppce5500"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc64.inc
|
|
|
|
TUNEVALID[e5500] = "Enable Freescale e5500 specific processor optimizations"
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "e5500", "-mcpu=e5500", "", d)}"
|
|
|
|
AVAILTUNES += "ppce5500 ppc64e5500"
|
|
TUNE_FEATURES_tune-ppce5500 = "m32 fpu-hard e5500"
|
|
BASE_LIB_tune-ppce5500 = "lib"
|
|
TUNE_PKGARCH_tune-ppce5500 = "ppce5500"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppce5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce5500"
|
|
|
|
TUNE_FEATURES_tune-ppc64e5500 = "m64 fpu-hard e5500"
|
|
BASE_LIB_tune-ppc64e5500 = "lib64"
|
|
TUNE_PKGARCH_tune-ppc64e5500 = "ppc64e5500"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppc64e5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e5500"
|
|
|
|
# glibc configure options to get e5500 specific library (for sqrt)
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "e5500", "--with-cpu=e5500", "", d)}"
|