summaryrefslogtreecommitdiff
path: root/tools/libelf
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
parent56c7b771fef082e4a2b277366d85a14fd8efd17a (diff)
downloadmtk-20170518-2f24019b6cbba25f184ae178b389bce45748de3d.zip
mtk-20170518-2f24019b6cbba25f184ae178b389bce45748de3d.tar.gz
mtk-20170518-2f24019b6cbba25f184ae178b389bce45748de3d.tar.bz2
tools/libelf: enable parallel builds
SVN-Revision: 33437
Diffstat (limited to 'tools/libelf')
-rw-r--r--tools/libelf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile
index f38d70d..dbd6eed 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