diff options
author | Michael Büsch <mb@bu3sch.de> | 2010-10-03 12:54:07 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2010-10-03 12:54:07 +0000 |
commit | cf323eb924bf6a5b45e136f7afef91078d5b070d (patch) | |
tree | 7b350cd2d188252969c030ec46477ae3659f812c /toolchain | |
parent | 68219be4e76133e9d3cff8e76d0e66232efbf593 (diff) | |
download | upstream-cf323eb924bf6a5b45e136f7afef91078d5b070d.tar.gz upstream-cf323eb924bf6a5b45e136f7afef91078d5b070d.tar.bz2 upstream-cf323eb924bf6a5b45e136f7afef91078d5b070d.zip |
optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Makefile | 2 | ||||
-rw-r--r-- | toolchain/gcc/common.mk | 2 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 5682698bcf..d829098e54 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -79,7 +79,7 @@ define Host/Configure endef define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR) all + $(MAKE) $(TOOLCHAIN_JOBS) -C $(HOST_BUILD_DIR) all endef define Host/Install diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index e2277207b8..8c293dd332 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -173,7 +173,7 @@ endif GCC_MAKE:= \ export SHELL="$(BASH)"; \ - $(MAKE) \ + $(MAKE) $(TOOLCHAIN_JOBS) \ CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \ CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 362548aae5..d3d4d85cdd 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -109,7 +109,7 @@ UCLIBC_MAKE = PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \ define Host/Compile $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak - $(UCLIBC_MAKE) PREFIX= all + $(UCLIBC_MAKE) $(TOOLCHAIN_JOBS) PREFIX= all $(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev $(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/lib/ $(CP) $(HOST_BUILD_DIR)/libpthread/*/libpthread_so.a $(TOOLCHAIN_DIR)/lib/ |