[yocto] [PATCH 1/1] beagleboard: enable hard floating point abi

Jason Kridner jkridner at beagleboard.org
Tue Aug 23 05:32:12 PDT 2011


On Fri, Aug 19, 2011 at 6:23 PM, Darren Hart <dvhart at linux.intel.com> wrote:
> Fixes [YOCTO #1203]
>
> Using the hard floating point abi is incompatible with some binary libaries and
> 3D support for the Beagleboard. As we do not provide these in poky and
> meta-yocto, we can take advantage of the hard floating point abi. This can be
> easily disabled by anyone building on top of meta-yocto if they need the soft
> abi by overriding DEFAULT_TUNE.
>
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> CC: Jason Kridner <jkridner at beagleboard.org>
> CC: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  meta-yocto/conf/machine/beagleboard.conf |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/meta-yocto/conf/machine/beagleboard.conf b/meta-yocto/conf/machine/beagleboard.conf
> index 0b3cebc..8f11732 100644
> --- a/meta-yocto/conf/machine/beagleboard.conf
> +++ b/meta-yocto/conf/machine/beagleboard.conf
> @@ -18,6 +18,11 @@ MACHINE_EXTRA_RRECOMMENDS += "beagleboard-audio"
>  # Allow for MMC booting (required by the NAND-less Beagleboard XM)
>  EXTRA_IMAGEDEPENDS += "u-boot x-load"
>
> +# Use the hard floating point abi. This breaks some binary libraries and
> +# 3D. Since poky and meta-yocto do not provide these by default, enable the
> +# hard floating point abi. Comment out the following or override it to disable
> +# it.
> +DEFAULTTUNE ?= "cortexa8hf-neon"

I'm not really fond of what this breaks, but I don't yet have a vision
of what I'd be doing with meta-yocto yet and therefore am open to this
project giving test coverage to new conditions like this.

>  include conf/machine/include/tune-cortexa8.inc
>
>  IMAGE_FSTYPES += "tar.bz2 jffs2"
> --
> 1.7.6
>
>



More information about the yocto mailing list