mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:05:20 +02:00
gcc: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33444 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
76b5f5ef8a
commit
1470e3d58c
@ -79,6 +79,8 @@ PATCH_DIR=../patches/$(GCC_VERSION)
|
|||||||
|
|
||||||
BUGURL=https://dev.openwrt.org/
|
BUGURL=https://dev.openwrt.org/
|
||||||
|
|
||||||
|
HOST_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/toolchain-build.mk
|
include $(INCLUDE_DIR)/toolchain-build.mk
|
||||||
|
|
||||||
HOST_SOURCE_DIR:=$(HOST_BUILD_DIR)
|
HOST_SOURCE_DIR:=$(HOST_BUILD_DIR)
|
||||||
|
@ -47,7 +47,7 @@ define Host/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(GCC_MAKE) -C $(GCC_BUILD_DIR) all
|
$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define SetupExtraArch
|
define SetupExtraArch
|
||||||
|
@ -11,7 +11,7 @@ GCC_CONFIGURE += \
|
|||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(CP) $(BUILD_DIR_TOOLCHAIN)/linux-dev/* $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/
|
$(CP) $(BUILD_DIR_TOOLCHAIN)/linux-dev/* $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/
|
||||||
$(GCC_MAKE) -C $(GCC_BUILD_DIR) \
|
$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
|
||||||
all-build-libiberty \
|
all-build-libiberty \
|
||||||
all-gcc \
|
all-gcc \
|
||||||
$(if $(GCC_BUILD_TARGET_LIBGCC),all-target-libgcc)
|
$(if $(GCC_BUILD_TARGET_LIBGCC),all-target-libgcc)
|
||||||
|
@ -30,7 +30,7 @@ define Host/Prepare
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(GCC_MAKE) -C $(GCC_BUILD_DIR) all-gcc all-target-libgcc
|
$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) all-gcc all-target-libgcc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
|
Loading…
Reference in New Issue
Block a user