[oe-commits] Xerxes Rånby : openjdk-6-6b18: Fix cacao on soft-float systems.

git version control git at git.openembedded.org
Mon Jul 26 12:46:19 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 929ace60623cbb1552f05744c83a29d45545554b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=929ace60623cbb1552f05744c83a29d45545554b

Author: Xerxes Rånby <xerxes at zafena.se>
Date:   Mon Jul 26 13:30:04 2010 +0200

openjdk-6-6b18: Fix cacao on soft-float systems.

	* openjdk-6-common.inc: Configure cacao with --enable-softfloat
	on systems that are not equipped with a FPU.
	This fixes openjdk + cacao on ARMv4 and ARMv5 systems.
	Bumped PR.

---

 recipes/openjdk/openjdk-6-common.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/openjdk/openjdk-6-common.inc b/recipes/openjdk/openjdk-6-common.inc
index 3c81520..8da940f 100644
--- a/recipes/openjdk/openjdk-6-common.inc
+++ b/recipes/openjdk/openjdk-6-common.inc
@@ -72,7 +72,9 @@ inherit java autotools
 export ALT_CUPS_HEADERS_PATH = "${STAGING_INCDIR}"
 export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2"
 export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}"
-export CACAO_CONFIGURE_ARGS = "--with-cacaoh=${STAGING_BINDIR_NATIVE}/cacaoh-openjdk-0.99.4"
+export CACAO_CONFIGURE_ARGS = "\
+	${@['','--enable-softfloat'][bb.data.getVar('TARGET_FPU',d,1) == 'soft']} \
+	--with-cacaoh=${STAGING_BINDIR_NATIVE}/cacaoh-openjdk-0.99.4"
 
 JAVA_HOME[unexport] = "1"
 





More information about the Openembedded-commits mailing list