aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 11:37:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 11:37:07 +0000
commit2ed4c97650b63c39311fdc223a0481ab57779e34 (patch)
tree7b6b9db168e6ab869281aa7b6d7490a48c7b8dd1 /package/hostapd
parent0f3744c0a74ce866cbe59474e8e869ed141555a3 (diff)
downloadupstream-2ed4c97650b63c39311fdc223a0481ab57779e34.tar.gz
upstream-2ed4c97650b63c39311fdc223a0481ab57779e34.tar.bz2
upstream-2ed4c97650b63c39311fdc223a0481ab57779e34.zip
hostapd: enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33419 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Makefile4
1 files changed, 3 insertions, 1 deletions
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)" \