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
634 B
PHP
15 lines
634 B
PHP
DEFAULTTUNE ?= "ppc7400"
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
TUNEVALID[ppc7400] = "Enable ppc7400 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', ' -mcpu=7400 -mno-spe', '', d)}"
|
|
|
|
AVAILTUNES += "ppc7400"
|
|
TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec bigendian"
|
|
TUNE_PKGARCH_tune-ppc7400 = "ppc7400"
|
|
PACKAGE_EXTRA_ARCHS_tune-ppc7400 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc7400"
|
|
|
|
# glibc configure options to get 7400 specific library (for sqrt)
|
|
#GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', '--with-cpu=power4', '', d)}"
|