eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
PATCH 1/1 eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
* Currently we are passing -jN flags to eglibc makefiles however eglibc uses a make variable called PARALLELMFLAGS to pass information about parallel build to sub-makes
* Currently make install ran without parallelism but now it should have parallel building flags passed to do_install correctly which inturn should improve build time of eglibc on systems using parallel build -j with values > 1
Signed-off-by Khem Raj <[email protected]>
--- recipes/eglibc/eglibc.inc | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
recipes/eglibc/eglibc.inc +5 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home" SECTION = "libs" PRIORITY = "required" LICENSE = "LGPL" -INC_PR = "r11" +INC_PR = "r12" # nptl needs unwind support in gcc, which can't be built without glibc. DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" #this leads to circular deps, so lets not add it yet
@@ -20,5 +20,8 @@ GLIBC_EXTRA_OECONF ?= "" INHIBIT_DEFAULT_DEPS = "1" ARM_INSTRUCTION_SET = "arm" - +# eglibc uses PARALLELMFLAGS variable to pass parallel build info so transfer +# PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE +EXTRA_OEMAKE := "PARALLELMFLAGS=${PARALLEL_MAKE}" +PARALLEL_MAKE = "" PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile"
Signature · 1 line
1.7.1