Changeset 33444


Ignore:
Timestamp:
2012-09-15T16:18:19+02:00 (5 years ago)
Author:
nbd
Message:

gcc: enable parallel builds

Location:
trunk/toolchain/gcc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/common.mk

    r31392 r33444  
    7979 
    8080BUGURL=https://dev.openwrt.org/ 
     81 
     82HOST_BUILD_PARALLEL:=1 
    8183 
    8284include $(INCLUDE_DIR)/toolchain-build.mk 
  • trunk/toolchain/gcc/final/Makefile

    r32554 r33444  
    4848 
    4949define Host/Compile 
    50         $(GCC_MAKE) -C $(GCC_BUILD_DIR) all 
     50        $(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all 
    5151endef 
    5252 
  • trunk/toolchain/gcc/initial/Makefile

    r32556 r33444  
    1212define Host/Compile 
    1313        $(CP) $(BUILD_DIR_TOOLCHAIN)/linux-dev/* $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/ 
    14         $(GCC_MAKE) -C $(GCC_BUILD_DIR) \ 
     14        $(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \ 
    1515                all-build-libiberty \ 
    1616                all-gcc \ 
  • trunk/toolchain/gcc/minimal/Makefile

    r32100 r33444  
    3131 
    3232define Host/Compile 
    33         $(GCC_MAKE) -C $(GCC_BUILD_DIR) all-gcc all-target-libgcc 
     33        $(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all-gcc all-target-libgcc 
    3434endef 
    3535 
Note: See TracChangeset for help on using the changeset viewer.