tools/libelf: enable parallel builds
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 14:17:58 +0000 (14:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 14:17:58 +0000 (14:17 +0000)
SVN-Revision: 33437

tools/libelf/Makefile

index f38d70d..dbd6eed 100644 (file)
@@ -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