diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 11:37:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 11:37:07 +0000 |
commit | 2ed4c97650b63c39311fdc223a0481ab57779e34 (patch) | |
tree | 7b6b9db168e6ab869281aa7b6d7490a48c7b8dd1 /package | |
parent | 0f3744c0a74ce866cbe59474e8e869ed141555a3 (diff) | |
download | upstream-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')
-rw-r--r-- | package/hostapd/Makefile | 4 |
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)" \ |