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

login
register
mail settings
Submitter Elvis Dowson
Date Aug. 22, 2012, 7:20 p.m.
Message ID <1345663224-42350-2-git-send-email-elvis.dowson@gmail.com>
Download mbox | patch
Permalink /patch/35163/
State Superseded
Headers show

Comments

Elvis Dowson - Aug. 22, 2012, 7:20 p.m.
* 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@gmail.com>
---
 conf/machine/include/tune-ppc405.inc |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

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)}"