From patchwork Thu May 31 06:12:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-xilinx] tune-ppc440.inc: Add support for PowerPC 440 processor for Xilinx Virtex-5 FXT FPGA. Date: Thu, 31 May 2012 06:12:06 -0000 From: Elvis Dowson X-Patchwork-Id: 28981 Message-Id: To: Adrian Alonso , OpenEmbedded Developer Mailing List Hi Adrian, On May 30, 2012, at 9:38 PM, Adrian Alonso wrote: > the tune file its ok, but it should be better if you rather provide a > fix for the tune-ppc440.inc > that is part of meta-xilinx layer; Here is a diff against the existing tune-ppc440.inc file in the meta-xilinx layer. I'll submit a patch shortly. Best regards, Elvis Dowson diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc index f77f628..394364d 100644 --- a/conf/machine/include/tune-ppc440.inc +++ b/conf/machine/include/tune-ppc440.inc @@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" -TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}" -TARGET_FPU = "soft" AVAILTUNES += "ppc440" -TUNE_FEATURES_tune-ppc440 = "m32 ppc440" -PACKAGE_EXTRA_ARCHS_tune-ppc440 = "ppc440" +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 440 specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"