summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 11:37:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 11:37:04 +0000
commit63d5cb7ead642f4ee333ce8f42b74502e14b4394 (patch)
tree5e5dbc2cd514fbc4b8bfe05bca96b3a948f349c6
parent75d8f0a7b1fdc5d6623c1984b1d3a7c651779b5d (diff)
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