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

Darren Hart dvhart at linux.intel.com
Fri Aug 19 15:23:29 PDT 2011


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"
 include conf/machine/include/tune-cortexa8.inc
 
 IMAGE_FSTYPES += "tar.bz2 jffs2"
-- 
1.7.6




More information about the yocto mailing list