aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-09-24 00:09:12 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-25 01:36:31 -0700
commit05f017dc6878908cf55901f8a74c738f3bece077 (patch)
treea42fa2bb82b3accbfffe2ed1c28c953677d35a5e /meta/recipes-core/eglibc/eglibc.inc
parente21267f1837b25fec4443dbf4367e501639541bd (diff)
downloadopenembedded-core-contrib-05f017dc6878908cf55901f8a74c738f3bece077.tar.gz
eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
* 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>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 8314cb1548..46ffa82184 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -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"