From 3c710bf3a90fde0cf6d590ffefc349bfb9a1c677 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Mon, 13 Aug 2018 16:09:17 +0100 Subject: java.bbclass: move openjdk/icedtea specific code into new class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code moved is not relevant to anything using java, just for compiling java itself. It doesn't make sense to have here. Move it into openjdk-build-helper Signed-off-by: André Draszik Signed-off-by: Richard Leitner --- recipes-core/icedtea/icedtea7-native.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-core/icedtea/icedtea7-native.inc') diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index 93463be..30fb24a 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc @@ -25,6 +25,7 @@ CXXFLAGS_append = " -fno-tree-dse" CXX_append = " -std=gnu++98" inherit native java autotools pkgconfig +inherit openjdk-build-helper JAVA_HOME[unexport] = "1" @@ -58,7 +59,7 @@ export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}" INSANE_SKIP_${PN} = "already-stripped" EXTRA_OECONF = "\ - --with-parallel-jobs=${@java_get_parallel_make(d)} \ + --with-parallel-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ \ --disable-tests \ --disable-hotspot-tests \ -- cgit v1.2.3-54-g00ecf