[OE-core] meta-xilinx: ERROR: Failure expanding variable TUNE_PKGARCH ppc440

Elvis Dowson elvis.dowson at gmail.com
Tue May 29 19:46:48 UTC 2012


Hi Mark,

On May 29, 2012, at 8:36 PM, Mark Hatle wrote:
> 
> The error above is an issue w/ the tune configuration.  In stock oe-core there is no 405/440 configuration.
> 
> You will need to create a new tune file, see meta/conf/machine/include/tune-ppc603e.inc as a reasonable example..


I modified the poky/meta/conf/machine/include/tune-ppc440.inc as follows:

DEFAULTTUNE ?= "ppc440"

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

AVAILTUNES += "ppc440"
TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440"
TUNE_PKGARCH_tune-ppc603e = "ppc440"
PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc440"

# glibc configure options to get 440 specific library (for sqrt)
GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"

This is for the embedded PowerPC440 processor on the Virtex-5 FX70T FPGA chip, which doesn't have a hardware FPU. Do the options look okay: "m32 fpu-soft ppc440" ?

Is there a resource I can refer to see a full list of applicable PowerPC440 gcc-4.x compiler options?

Best regards,

Elvis Dowson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120529/6eb4aeba/attachment-0002.html>


More information about the Openembedded-core mailing list