[oe-commits] Khem Raj : eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGS
git version control
git at git.openembedded.org
Fri Sep 24 18:49:20 UTC 2010
Module: openembedded.git
Branch: master
Commit: cf18d5677a07eb8266dfc36c0f7bbb7d841cb258
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cf18d5677a07eb8266dfc36c0f7bbb7d841cb258
Author: Khem Raj <raj.khem at gmail.com>
Date: Fri Sep 24 00:09:12 2010 -0700
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 <raj.khem at gmail.com>
---
recipes/eglibc/eglibc.inc | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/recipes/eglibc/eglibc.inc b/recipes/eglibc/eglibc.inc
index 66bb90e..c8ecff8 100644
--- a/recipes/eglibc/eglibc.inc
+++ b/recipes/eglibc/eglibc.inc
@@ -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"
More information about the Openembedded-commits
mailing list