From b96814ed6f6bbc7ec650c513f2b27f8b1dcb8ac7 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 24 Feb 2010 01:05:45 +0100 Subject: toolchain: enable parallel building for gcc, glibc, binutils, gmp and mpfr --- toolchain/mpfr/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'toolchain/mpfr/Makefile') 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 -- cgit v1.2.3