mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
This helps in defining LE tunes and at the same time specifies endianness on compiler cmdline clearly, clang e.g. defaults to little-endian always, so unless specified with -mbig-endian won't compile the code right (From OE-Core rev: e0fd699d398f0e88fb208970dea7b74e6e9431fe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
613 B
PHP
15 lines
613 B
PHP
DEFAULTTUNE ?= "ppc603e"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', ' -mcpu=603e', '', d)}"
|
|
|
|
AVAILTUNES += "ppc603e"
|
|
TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e bigendian"
|
|
TUNE_PKGARCH_tune-ppc603e = "ppc603e"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e"
|
|
|
|
# glibc configure options to get 603e specific library (for sqrt)
|
|
GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', '-with-cpu=603e', '', d)}"
|