[oe] [meta-java][PATCH 4/5] icedtea7: allow modern Linux being used, either

Jens Rehsack rehsack at gmail.com
Fri Oct 16 17:30:32 UTC 2015


Since Yocto Project has a reasonable definition of supported build hosts, we
shouldn't restrict to e.g. pre 4.x kernels as icedtea7 expects.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 recipes-core/icedtea/icedtea7-native.inc  | 1 +
 recipes-core/openjdk/openjdk-7-common.inc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
index 69dd0ae..43385e9 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -162,6 +162,7 @@ EXTRA_OEMAKE = ' \
                 OE_LDFLAGS="${LDFLAGS}" \
                 ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \
 		${OEMAKE_BUILD_HEADLESS_ONLY} \
+		DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \
                '
 
 do_compile() {
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index 74b93d9..6ff2a79 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -157,6 +157,7 @@ EXTRA_OEMAKE += ' \
                 ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \
 		CROSS_COMPILE_ARCH="${JDK_ARCH}" \
 		REQUIRED_ALSA_VERSION="" \
+		DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \
                '
 
 # Provides the target architecture to the configure script.
-- 
2.4.3

-- 
Jens Rehsack - rehsack at gmail.com




More information about the Openembedded-devel mailing list