From: Felix Fietkau Date: Sun, 29 Mar 2015 02:16:21 +0000 (+0000) Subject: e2fsprogs: enable parallel build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c29c15073e75084ef4487ffd7ece5f050e322f2;p=openwrt%2Fstaging%2Fblocktrron.git e2fsprogs: enable parallel build Signed-off-by: Felix Fietkau SVN-Revision: 45101 --- 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)" \