From patchwork Wed Aug 22 19:20:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-xilinx,2/7] tune-ppc405: Add glibc configure options. Date: Wed, 22 Aug 2012 19:20:19 -0000 From: Elvis Dowson X-Patchwork-Id: 35163 Message-Id: <1345663224-42350-2-git-send-email-elvis.dowson@gmail.com> To: openembedded-devel@lists.openembedded.org Cc: Elvis Dowson * 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 --- 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)}"