summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-common.inc21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc
index c2f9eb4..c339985 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -167,27 +167,6 @@ do_configure_prepend() {
167 export ${@jdk_environment_options(d)} 167 export ${@jdk_environment_options(d)}
168} 168}
169 169
170# OpenJDK supports parallel compilation but uses a plain number for this.
171# In OE we have PARALLEL_MAKE which is the actual option passed to make,
172# e.g. "-j 4".
173OPENJDK8_PARALLEL_MAKE := "${PARALLEL_MAKE}"
174PARALLEL_MAKE = ""
175def get_jdk8_native_jobs(d):
176 import bb
177
178 pm = bb.data.getVar('OPENJDK8_PARALLEL_MAKE', d, 1);
179 if not pm:
180 return "1"
181
182 pm = pm.split("j");
183 if (len(pm) == 2):
184 return pm[1].strip()
185
186 # Whatever found in PARALLEL_MAKE was not suitable.
187 return "1"
188
189get_jdk8_native_jobs[vardepsexclude] += "OPENJDK8_PARALLEL_MAKE"
190
191# A function that is needed in the Shark builds. 170# A function that is needed in the Shark builds.
192def get_llvm_configure_arch(d): 171def get_llvm_configure_arch(d):
193 import bb; 172 import bb;