aboutsummaryrefslogtreecommitdiffstats
path: root/package/gdb/Makefile
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
commitde441e9b4cb5d20b9d6c97e64a14b256db22b5d5 (patch)
tree80eba25c4ce0196adabe3fea8f352bdbb74596d1 /package/gdb/Makefile
parentf60dc2e1f8646ddc28738e6fd041e3577d193814 (diff)
downloadupstream-de441e9b4cb5d20b9d6c97e64a14b256db22b5d5.tar.gz
upstream-de441e9b4cb5d20b9d6c97e64a14b256db22b5d5.tar.bz2
upstream-de441e9b4cb5d20b9d6c97e64a14b256db22b5d5.zip
gdb: Enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23373 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r--package/gdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 1a4bb91fee..1fa159b082 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