summaryrefslogtreecommitdiff
path: root/toolchain/mpfr/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-02-24 01:05:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-24 19:19:23 +0100
commitb96814ed6f6bbc7ec650c513f2b27f8b1dcb8ac7 (patch)
tree9a726a5b2daf1eb101c8036a0f3af8d35b1caece /toolchain/mpfr/Makefile
parentfde11aa6b23ac7e16931a9825166b86998e4fbe3 (diff)
toolchain: enable parallel building for gcc, glibc, binutils, gmp and mpfr
Diffstat (limited to 'toolchain/mpfr/Makefile')
-rw-r--r--toolchain/mpfr/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/mpfr/Makefile b/toolchain/mpfr/Makefile
index f74f0199f..d16729a70 100644
--- a/toolchain/mpfr/Makefile
+++ b/toolchain/mpfr/Makefile
@@ -7,6 +7,10 @@ include $(TOPDIR)/toolchain/gmp/Makefile.inc
include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk
+ifeq (${ADK_MAKE_PARALLEL},y)
+MPFR_MAKEOPTS+= -j${ADK_MAKE_JOBS}
+endif
+
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
(cd $(WRKBUILD); \
@@ -21,7 +25,7 @@ $(WRKBUILD)/.configured:
touch $@
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
- $(MAKE) -C $(WRKBUILD) all
+ $(MAKE) ${MPFR_MAKEOPTS} -C $(WRKBUILD) all
touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled