diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-15 11:37:07 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-15 11:37:07 +0000 |
commit | 2d2c69889afe0a076f16051a53ff7e90d1bd28c2 (patch) | |
tree | 7b6b9db168e6ab869281aa7b6d7490a48c7b8dd1 /package/hostapd | |
parent | 63d5cb7ead642f4ee333ce8f42b74502e14b4394 (diff) |
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/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)" \ |