From 2ed4c97650b63c39311fdc223a0481ab57779e34 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 15 Sep 2012 11:37:07 +0000 Subject: [PATCH] hostapd: enable parallel build git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33419 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)" \