linux-atm: enable parallel builds
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 11:37:04 +0000 (11:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2012 11:37:04 +0000 (11:37 +0000)
SVN-Revision: 33418

package/linux-atm/Makefile

index 4543f7aca4360f7e2625c22ab2ed7e973d57ca7e..5a038ee9106ab0032961520c93d3a74a9f1893dd 100644 (file)
@@ -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