aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libelf/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 14:17:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 14:17:58 +0000
commit2f24019b6cbba25f184ae178b389bce45748de3d (patch)
tree190065c9dcafc8efa6aa544fbd80a0c2f03958ca /tools/libelf/Makefile
parent56c7b771fef082e4a2b277366d85a14fd8efd17a (diff)
downloadupstream-2f24019b6cbba25f184ae178b389bce45748de3d.tar.gz
upstream-2f24019b6cbba25f184ae178b389bce45748de3d.tar.bz2
upstream-2f24019b6cbba25f184ae178b389bce45748de3d.zip
tools/libelf: enable parallel builds
SVN-Revision: 33437
Diffstat (limited to 'tools/libelf/Makefile')
-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