mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
e2fsprogs: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45101
This commit is contained in:
parent
19150d393d
commit
7c29c15073
@ -18,6 +18,8 @@ PKG_SOURCE_URL:=@SF/e2fsprogs
|
|||||||
PKG_BUILD_DEPENDS:=util-linux
|
PKG_BUILD_DEPENDS:=util-linux
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/e2fsprogs/Default
|
define Package/e2fsprogs/Default
|
||||||
@ -112,13 +114,13 @@ define Build/Prepare
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/util \
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/util \
|
||||||
BUILDCC="$(HOSTCC)" \
|
BUILDCC="$(HOSTCC)" \
|
||||||
CFLAGS="" \
|
CFLAGS="" \
|
||||||
CPPFLAGS="" \
|
CPPFLAGS="" \
|
||||||
LDFLAGS="" \
|
LDFLAGS="" \
|
||||||
subst
|
subst
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||||
LDFLAGS=-Wl,--gc-sections \
|
LDFLAGS=-Wl,--gc-sections \
|
||||||
BUILDCC="$(HOSTCC)" \
|
BUILDCC="$(HOSTCC)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user