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

login
register
mail settings
Submitter Elvis Dowson
Date May 31, 2012, 4:50 p.m.
Message ID <1338483003-14850-2-git-send-email-elvis.dowson@gmail.com>
Download mbox | patch
Permalink /patch/29027/
State Accepted
Headers show

Comments

Elvis Dowson - May 31, 2012, 4:50 p.m.
* Add glibc configure options to get ppc440 specific library.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 conf/machine/include/tune-ppc440.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc
index 371fdf9..35e93e9 100644
--- a/conf/machine/include/tune-ppc440.inc
+++ b/conf/machine/include/tune-ppc440.inc
@@ -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)}"