summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-17 13:03:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-17 13:03:08 +0000
commitc6ba19c70e1bde7cb94c77ae64537294cfef2ae9 (patch)
tree382c423664013f52ea57a9585aa14fc3bae42c6c /toolchain
parent0e1f91b60af521b114a4135c1aee9e13ebbbd177 (diff)
downloadmtk-20170518-c6ba19c70e1bde7cb94c77ae64537294cfef2ae9.zip
mtk-20170518-c6ba19c70e1bde7cb94c77ae64537294cfef2ae9.tar.gz
mtk-20170518-c6ba19c70e1bde7cb94c77ae64537294cfef2ae9.tar.bz2
toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Makefile2
-rw-r--r--toolchain/uClibc/common.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 0c2dcd3..545ea5a 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -5,6 +5,8 @@ include ./common.mk
HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_installed
+HOST_BUILD_PARALLEL:=1
+
define Host/SetToolchainInfo
$(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk
$(SED) 's,^\(LIBC_URL\)=.*,\1=http://www.uclibc.org/,' $(TOOLCHAIN_DIR)/info.mk
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index 5f3bd29..f32ed98 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -50,7 +50,7 @@ CPU_CFLAGS = \
-Wno-unused-but-set-variable \
$(TARGET_CFLAGS)
-UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \
+UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \