2024-09-09 08:52:07 +00:00
|
|
|
DEFAULTTUNE ?= "ppc603e"
|
|
|
|
|
|
|
|
require conf/machine/include/powerpc/arch-powerpc.inc
|
|
|
|
|
|
|
|
TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations"
|
2024-09-09 08:57:42 +00:00
|
|
|
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", " -mcpu=603e", "", d)}"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
AVAILTUNES += "ppc603e"
|
2024-09-09 08:52:07 +00:00
|
|
|
TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
|
2024-09-09 08:57:42 +00:00
|
|
|
TUNE_PKGARCH_tune-ppc603e = "ppc603e"
|
2024-09-09 08:52:07 +00:00
|
|
|
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)}"
|