Changeset 19995


Ignore:
Timestamp:
2010-03-05T21:15:12+01:00 (6 years ago)
Author:
thepeople
Message:

this patch fixes toolchain parallel build, which reduces build time.

In order to enable parallel build, change line 21 of
include/host-build.mk from:

override MAKEFLAGS=

to:

override MAKEFLAGS=$(MAKE_JOBS)

-Raphael

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/host-build.mk

    r19021 r19995  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    8181 
    8282define Host/Install/Default 
    83         $(MAKE) -C $(HOST_BUILD_DIR) install 
     83        $(_SINGLE)$(MAKE) -C $(HOST_BUILD_DIR) install 
    8484endef 
    8585 
  • trunk/toolchain/gcc/Makefile

    r19870 r19995  
    251251 
    252252define Stage2/Install 
    253         $(GCC_MAKE) -C $(HOST_BUILD_DIR2) install 
     253        $(_SINGLE)$(GCC_MAKE) -C $(HOST_BUILD_DIR2) install 
    254254        # Set up the symlinks to enable lying about target name. 
    255255        set -e; \ 
Note: See TracChangeset for help on using the changeset viewer.