]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
authorKhem Raj <raj.khem@gmail.com>
Fri, 24 Sep 2010 07:09:12 +0000 (00:09 -0700)
committerSaul Wold <sgw@linux.intel.com>
Wed, 25 May 2011 08:36:31 +0000 (01:36 -0700)
* Currently we are passing -jN or -j N 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 <raj.khem@gmail.com>
meta/recipes-core/eglibc/eglibc.inc

index 8314cb1548316ec5266715a5129683cc16974f16..46ffa821849cacd9568a815e8c7d88f0fb5b2e38 100644 (file)
@@ -36,4 +36,10 @@ 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
+EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}""
+EXTRA_OEMAKE += ${EGLIBCPARALLELISM}
+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"