aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-29 02:16:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-29 02:16:21 +0000
commit9a0c50fc90851e40fb2ade960d79d49d0e05c746 (patch)
tree60861b99a745176bb4f29ccfd2f151268d7a61be /package/utils
parent092c6f96caade87d9ac2e38f43b475f74aa00ae9 (diff)
downloadupstream-9a0c50fc90851e40fb2ade960d79d49d0e05c746.tar.gz
upstream-9a0c50fc90851e40fb2ade960d79d49d0e05c746.tar.bz2
upstream-9a0c50fc90851e40fb2ade960d79d49d0e05c746.zip
e2fsprogs: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/e2fsprogs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 59e45eb23f..57e7aaec0e 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -18,6 +18,8 @@ PKG_SOURCE_URL:=@SF/e2fsprogs
PKG_BUILD_DEPENDS:=util-linux
PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/package.mk
define Package/e2fsprogs/Default
@@ -112,13 +114,13 @@ define Build/Prepare
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/util \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/util \
BUILDCC="$(HOSTCC)" \
CFLAGS="" \
CPPFLAGS="" \
LDFLAGS="" \
subst
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
LDFLAGS=-Wl,--gc-sections \
BUILDCC="$(HOSTCC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \