libecj: replace BB_NUMBER_THREADS with PARALLEL_MAKE
PATCH 1/2 libecj: replace BB_NUMBER_THREADS with PARALLEL_MAKE
do_compile for libecj should use PARALLEL_MAKE instead of BB_NUMBER_THREADS.
Signed-off-by Richard Leitner <[email protected]>
--- recipes-core/ecj/libecj-bootstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/ecj/libecj-bootstrap.inc +1 -1
@@ -49,7 +49,7 @@ do_compile() { # property files which need to be available at runtime. find source -name '*.java' -print0 \ | LC_ALL=C sort -z \ - | xargs -0 -n25 -P ${BB_NUMBER_THREADS} \ + | xargs -0 -n25 -P ${PARALLEL_MAKE} \ jikes-initial -d build -source 1.4 -sourcepath source fastjar -c -C build . -f ${JAR}
Signature · 1 line
2.28.0
PATCH 2/2 openjdk-8-cross: replace BB_NUMBER_THREADS with PARALLEL_MAKEINST
do_install_append of openjdk-8-cross should use PARALLEL_MAKEINST instead of BB_NUMBER_THREADS.
Signed-off-by Richard Leitner <[email protected]>
--- recipes-core/openjdk/openjdk-8-cross.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/openjdk/openjdk-8-cross.inc +2 -2
@@ -86,13 +86,13 @@ do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then if [ -d ${D}${JDK_HOME} ] ; then find ${D}${JDK_HOME} -name "*.jar" -print0 | \ - xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \ + xargs -0 -n1 -P ${PARALLEL_MAKEINST} sh -c ' \ echo "Repacking" "$0" ; \ pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' fi if [ -d ${D}${JRE_HOME} ] ; then find ${D}${JRE_HOME} -name "*.jar" -print0 | \ - xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \ + xargs -0 -n1 -P ${PARALLEL_MAKEINST} sh -c ' \ echo "Repacking" "$0" ; \ pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' fi
Signature · 1 line
2.28.0