[oe] [meta-java][PATCH 3/4] openjdk-6: do not run gamma test for cross compiles
b28495 at freescale.com
b28495 at freescale.com
Wed Jan 21 08:23:05 UTC 2015
From: Ting Liu <ting.liu at freescale.com>
set CROSS_COMPILE_ARCH which will be checked before run gamma test.
Fix the below issue:
| make[6]: Leaving directory `.../openjdk-6-jre/6b32-1.13.4-r22.0/build/openjdk.build/hotspot/outputdir/linux_ppc64_zero/product'
| cd linux_ppc64_zero/product && ./test_gamma
| ./test_gamma: line 72: ./gamma: cannot execute binary file
| make[5]: *** [productzero] Error 126
Signed-off-by: Ting Liu <ting.liu at freescale.com>
---
recipes-core/openjdk/openjdk-6-common.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index 4254c9f..7ad7097 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -167,6 +167,7 @@ EXTRA_OEMAKE += ' \
OE_CXXFLAGS="${TARGET_CXXFLAGS}" \
OE_LDFLAGS="${TARGET_LDFLAGS}" \
ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \
+ CROSS_COMPILE_ARCH="${JDK_ARCH}" \
'
OE_LAUNCHER_LDFLAGS = "-Wl,-rpath-link,${STAGING_LIBDIR}/llvm${WANT_LLVM_RELEASE} -Wl,-rpath,/usr/lib/llvm${WANT_LLVM_RELEASE}"
--
1.9.1
More information about the Openembedded-devel
mailing list