tune-ppc440: Indicate no floating point support.
PATCH 1/2 tune-ppc440: Indicate no floating point support.
* PACKAGE_EXTRA_ARCHS_tune-ppc440: Indicate no floating point support by adding -nf suffix.
Signed-off-by Elvis Dowson <[email protected]>
--- conf/machine/include/tune-ppc440.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/tune-ppc440.inc +1 -1
@@ -8,6 +8,6 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", AVAILTUNES += "ppc440" TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" TUNE_PKGARCH_tune-ppc440 = "ppc440" -PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc440" +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" #MACHINEOVERRIDES .= "ppc440"
Signature · 1 line
1.7.9.5
PATCH 2/2 tune-ppc440: Add glibc configure options.
* Add glibc configure options to get ppc440 specific library.
Signed-off-by Elvis Dowson <[email protected]>
--- conf/machine/include/tune-ppc440.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
conf/machine/include/tune-ppc440.inc +2 -1
@@ -10,4 +10,5 @@ TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" TUNE_PKGARCH_tune-ppc440 = "ppc440" PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440" -#MACHINEOVERRIDES .= "ppc440" +# glibc configure options to get ppc440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
Signature · 1 line
1.7.9.5