From: Felix Fietkau Date: Sat, 15 Sep 2012 11:37:07 +0000 (+0000) Subject: hostapd: enable parallel build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cfbb7d9b228117a195e2bfca8a837b6568493b44;p=openwrt%2Fstaging%2Fnbd.git hostapd: enable parallel build SVN-Revision: 33419 --- diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 295efd0cc3..5e2452e437 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -19,6 +19,8 @@ PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_PROTO:=git PKG_MIRROR_MD5SUM:=2732dbca58b0aaaebdad69e13588d058 +PKG_BUILD_PARALLEL:=1 + PKG_BUILD_DEPENDS:= \ PACKAGE_kmod-madwifi:madwifi \ @@ -232,7 +234,7 @@ endif define Build/RunMake CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ - $(MAKE) -C $(PKG_BUILD_DIR)/$(1) \ + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(1) \ $(TARGET_CONFIGURE_OPTS) \ $(DRIVER_MAKEOPTS) \ LIBS="$(TARGET_LDFLAGS)" \