summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-10-09 21:32:38 +0000
committerMichael Büsch <mb@bu3sch.de>2010-10-09 21:32:38 +0000
commit409e44a4e847ead614072222e70f02676f18c7c9 (patch)
treee3530c04e7df8070b8969f1ca9500fe3f330c94e /package/gdb
parent356ec178f083b59f763faa577354e7591f2ab2c9 (diff)
downloadmtk-20170518-409e44a4e847ead614072222e70f02676f18c7c9.zip
mtk-20170518-409e44a4e847ead614072222e70f02676f18c7c9.tar.gz
mtk-20170518-409e44a4e847ead614072222e70f02676f18c7c9.tar.bz2
gdb: Enable parallel build
SVN-Revision: 23373
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 1a4bb91..1fa159b 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -15,6 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/gdb
PKG_MD5SUM:=c9da266b884fb8fa54df786dfaadbc7a
+PKG_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/package.mk
define Package/gdb/Default
@@ -55,7 +57,7 @@ CONFIGURE_VARS+= \
ac_cv_search_tgetent="$(TARGET_LDFLAGS) -lncurses -lreadline"
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
all