aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-09-24 00:09:12 -0700
committerKhem Raj <raj.khem@gmail.com>2010-09-24 11:48:41 -0700
commitcf18d5677a07eb8266dfc36c0f7bbb7d841cb258 (patch)
tree5c973d99b130c45d4ad9335a8ddb98cfbb51671f
parentaf5d0dbecc11ada0d3255da195b4674dd6e08782 (diff)
downloadopenembedded-cf18d5677a07eb8266dfc36c0f7bbb7d841cb258.zip
openembedded-cf18d5677a07eb8266dfc36c0f7bbb7d841cb258.tar.gz
openembedded-cf18d5677a07eb8266dfc36c0f7bbb7d841cb258.tar.bz2
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@gmail.com>
-rw-r--r--recipes/eglibc/eglibc.inc7
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"