xref: /OK3568_Linux_fs/yocto/poky/meta/conf/machine/include/powerpc/tune-ppc476.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DEFAULTTUNE ?= "ppc476"
2
3require conf/machine/include/powerpc/arch-powerpc.inc
4
5TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', ' -mcpu=476', '', d)}"
7
8AVAILTUNES += "ppc476"
9TUNE_FEATURES:tune-ppc476 = "m32 fpu-hard ppc476 bigendian"
10TUNE_PKGARCH:tune-ppc476 = "ppc476"
11PACKAGE_EXTRA_ARCHS:tune-ppc476 = "${PACKAGE_EXTRA_ARCHS:tune-powerpc} ppc476"
12
13# glibc configure options to get 476 specific library (for sqrt)
14GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', '-with-cpu=476', '', d)}"
15