summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:17:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:17:58 +0000
commitb23321a783a9c4f8448916ae72831d83867f9bbf (patch)
tree8ba21edf948d61b4d85f325dd8140c4272a87e2d
parent8077172d47af262704058fa361b3add4f49f7a52 (diff)
tools/libelf: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33437 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/libelf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile
index f38d70d09b..dbd6eed89a 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