eglibc: enable parallel builds
authorFelix Fietkau <nbd@openwrt.org>
Wed, 31 Oct 2012 00:23:55 +0000 (00:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 31 Oct 2012 00:23:55 +0000 (00:23 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34025

toolchain/eglibc/Makefile

index c975b7a2eea25c9ab2d71c19b03c2728d5c2678a..429ed3036ba11aaf9818f076e17f498d89256cf6 100644 (file)
@@ -1,10 +1,11 @@
 PATH_PREFIX := .
 VARIANT:=final
 PATH_PREFIX := .
 VARIANT:=final
+HOST_BUILD_PARALLEL:=1
 
 include ./common.mk
 
 define Host/Compile
 
 include ./common.mk
 
 define Host/Compile
-       $(MAKE) -C $(CUR_BUILD_DIR) all
+       $(MAKE) -C $(CUR_BUILD_DIR) all PARALLELMFLAGS="$(HOST_JOBS)"
 endef
 
 define Host/Install
 endef
 
 define Host/Install