summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-10 20:48:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-10 20:48:31 +0000
commitcd471b762f5774d541a0640414a7ed56e934cde5 (patch)
treea09b0345628d6a18a254f6c40334eb0b24c97a33
parent6d21323d98b8772b7144c5ee5dcb838d835bf3fa (diff)
downloadmtk-20170518-cd471b762f5774d541a0640414a7ed56e934cde5.zip
mtk-20170518-cd471b762f5774d541a0640414a7ed56e934cde5.tar.gz
mtk-20170518-cd471b762f5774d541a0640414a7ed56e934cde5.tar.bz2
lua: enable parallel builds
SVN-Revision: 33716
-rw-r--r--package/lua/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index c5df4d5..fca7747 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -17,6 +17,7 @@ PKG_SOURCE_URL:=http://www.lua.org/ftp/ \
http://mirrors.dotsrc.org/lua/ \
http://www.tecgraf.puc-rio.br/lua/ftp/
PKG_MD5SUM:=2e115fe26e435e33b0d5c022e4490567
+PKG_BUILD_PARALLEL:=1
HOST_PATCH_DIR := ./patches-host
@@ -96,7 +97,7 @@ ifneq ($(CONFIG_USE_EGLIBC),)
endif
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \
AR="$(TARGET_CROSS)ar rcu" \
RANLIB="$(TARGET_CROSS)ranlib" \