summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 11:37:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 11:37:04 +0000
commitfb2b3c9eae51c1c8f14fc7f27bdc7255bdb43f67 (patch)
treee74197c302291f7f95dea3b9ed90b0e84c49d415
parente3b3a9473c7b60a10fd62b6d176fadab6682d00e (diff)
downloadmtk-20170518-fb2b3c9eae51c1c8f14fc7f27bdc7255bdb43f67.zip
mtk-20170518-fb2b3c9eae51c1c8f14fc7f27bdc7255bdb43f67.tar.gz
mtk-20170518-fb2b3c9eae51c1c8f14fc7f27bdc7255bdb43f67.tar.bz2
linux-atm: enable parallel builds
SVN-Revision: 33418
-rw-r--r--package/linux-atm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 4543f7a..5a038ee 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -17,6 +17,7 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=d49499368c3cf15f73a05d9bce8824a8
PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
@@ -78,10 +79,10 @@ unexport PREFIX
define Build/Compile
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS
- $(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src/qgen \
LDFLAGS="" \
all
- $(MAKE) -C $(PKG_BUILD_DIR) OBJCOPY=$(TARGET_CROSS)objcopy all
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) OBJCOPY=$(TARGET_CROSS)objcopy all
endef
define Build/InstallDev