From b23321a783a9c4f8448916ae72831d83867f9bbf Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 15 Sep 2012 14:17:58 +0000
Subject: tools/libelf: enable parallel builds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33437 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 tools/libelf/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'tools/libelf')

diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile
index f38d70d09..dbd6eed89 100644
--- a/tools/libelf/Makefile
+++ b/tools/libelf/Makefile
@@ -15,6 +15,8 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.mr511.de/software/
 
+HOST_BUILD_PARALLEL:=1
+
 include $(INCLUDE_DIR)/host-build.mk
 
 HOST_CONFIGURE_ARGS += \
@@ -30,7 +32,7 @@ endef
 
 
 define Host/Compile
-	$(MAKE) -C $(HOST_BUILD_DIR)/lib/ libelf.a
+	$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/lib/ libelf.a
 endef
 
 define Host/Install
-- 
cgit v1.2.3