[oe] [meta-xilinx 2/7] tune-ppc405: Add glibc configure options.

Elvis Dowson elvis.dowson at gmail.com
Wed Aug 22 19:20:19 UTC 2012


* Add glibc configure options to get ppc405 specific library.
* Minor changes to tune-ppc405 recipe to specify soft-float option.

Signed-off-by: Elvis Dowson <elvis.dowson at gmail.com>
---
 conf/machine/include/tune-ppc405.inc |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/conf/machine/include/tune-ppc405.inc b/conf/machine/include/tune-ppc405.inc
index 012390e..b148956 100644
--- a/conf/machine/include/tune-ppc405.inc
+++ b/conf/machine/include/tune-ppc405.inc
@@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc
 
 TUNEVALID[ppc405] = "Enable ppc405 specific processor optimizations"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc405", "-mcpu=405", "", d)}"
-TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc405", "ppc405", "${PPCPKGARCH}", d)}"
 
-TARGET_FPU = "soft"
 AVAILTUNES += "ppc405"
-TUNE_FEATURES_tune-ppc405 = "m32 ppc405"
-PACKAGE_EXTRA_ARCHS_tune-ppc405 = "ppc405"
+TUNE_FEATURES_tune-ppc405 = "m32 ppc405 fpu-soft"
+TUNE_PKGARCH_tune-ppc440 = "ppc405"
+PACKAGE_EXTRA_ARCHS_tune-ppc405 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc405"
 
-#MACHINEOVERRIDES .= "ppc405"
+# glibc configure options to get ppc440 specific library (for sqrt)
+GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc405", "-with-cpu=405", "", d)}"
-- 
1.7.9.5





More information about the Openembedded-devel mailing list