aboutsummaryrefslogtreecommitdiffstats
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
commit0f3744c0a74ce866cbe59474e8e869ed141555a3 (patch)
tree5e5dbc2cd514fbc4b8bfe05bca96b3a948f349c6
parent758fb51c617f1f77b2468eabe82b5de9c38f4941 (diff)
downloadmaster-187ad058-0f3744c0a74ce866cbe59474e8e869ed141555a3.tar.gz
master-187ad058-0f3744c0a74ce866cbe59474e8e869ed141555a3.tar.bz2
master-187ad058-0f3744c0a74ce866cbe59474e8e869ed141555a3.zip
linux-atm: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33418 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 4543f7aca4..5a038ee910 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