summaryrefslogtreecommitdiff
path: root/toolchain/gdb/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 14:18:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 14:18:13 +0000
commitb7e1f0d7df426e62cd79a37ab1e19fc7e4857a5d (patch)
tree75baa7d0629a9cd02bce18b3b1157f4a00ae8de5 /toolchain/gdb/Makefile
parenta2cf331ba6299ac2b3d057aba9c172f2df412652 (diff)
downloadmtk-20170518-b7e1f0d7df426e62cd79a37ab1e19fc7e4857a5d.zip
mtk-20170518-b7e1f0d7df426e62cd79a37ab1e19fc7e4857a5d.tar.gz
mtk-20170518-b7e1f0d7df426e62cd79a37ab1e19fc7e4857a5d.tar.bz2
gdb: enable parallel builds
SVN-Revision: 33442
Diffstat (limited to 'toolchain/gdb/Makefile')
-rw-r--r--toolchain/gdb/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 515b1f1..b08d76e 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -13,6 +13,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=747b655418058964451eff7c7a15013c
PKG_SOURCE_URL:=http://launchpad.net/gdb-linaro/7.2/7.2-2011.03-0/+download/
+HOST_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/toolchain-build.mk
define Host/Configure
@@ -33,10 +35,6 @@ define Host/Configure
);
endef
-define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR)
-endef
-
define Host/Install
mkdir -p $(TOOLCHAIN_DIR)/bin
$(INSTALL_BIN) $(HOST_BUILD_DIR)/gdb/gdb $(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gdb