[oe] [meta-java][PAYCH] openjdk-6: Fix cross compilation for e6500 machines

Zhenhua Luo zhenhua.luo at freescale.com
Wed May 7 13:39:41 UTC 2014


    This is only way for compile for now since qemu can not
    run the sizers binary for e6500 machines. It segfaults
    so we disable generating sizes and also xawt and jawt
    which depends on sizers, this lets jre to cross compile
    for ppc/e6500

The fix is ported according to da0b3a20a67496dc8d4282d19a60672001b7f825

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-core/openjdk/openjdk-6-release-6b24.inc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/recipes-core/openjdk/openjdk-6-release-6b24.inc b/recipes-core/openjdk/openjdk-6-release-6b24.inc
index d0da379..da5299f 100644
--- a/recipes-core/openjdk/openjdk-6-release-6b24.inc
+++ b/recipes-core/openjdk/openjdk-6-release-6b24.inc
@@ -90,6 +90,13 @@ ICEDTEAPATCHES_append_e5500-64b = " \
 ICEDTEAPATCHES_append_e5500 = " \
         file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
 	"
+ICEDTEAPATCHES_append_e6500-64b = " \
+        file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
+        "
+ICEDTEAPATCHES_append_e6500 = " \
+        file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
+        "
+
 ICEDTEAPATCHES_append_libc-uclibc = " \
         file://icedtea-hotspot-isfinte.patch;apply=no \
         file://icedtea-hotspot-glibc-version.patch;apply=no \
@@ -132,4 +139,11 @@ DISTRIBUTION_PATCHES_append_e5500-64b = " \
 DISTRIBUTION_PATCHES_append_e5500 = " \
        patches/icedtea-jdk-sizers-crosscompile-hack.patch \
        "
+DISTRIBUTION_PATCHES_append_e6500-64b = " \
+       patches/icedtea-jdk-sizers-crosscompile-hack.patch \
+       "
+
+DISTRIBUTION_PATCHES_append_e6500 = " \
+       patches/icedtea-jdk-sizers-crosscompile-hack.patch \
+       "
 export DISTRIBUTION_PATCHES
-- 
1.9.1




More information about the Openembedded-devel mailing list