blob: 31eecc435c96fc0fa159e97858d1fed00706a46e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "ppc476"
2
3require conf/machine/include/powerpc/arch-powerpc.inc
4
5TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', ' -mcpu=476', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007
8AVAILTUNES += "ppc476"
Brad Bishop79641f22019-09-10 07:20:22 -04009TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476 bigendian"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010TUNE_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)
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050014GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', '-with-cpu=476', '', d)}"