26 Makefile patches for enabling parallel builds. Tested on Linux (8-core) and Darwin (12-core), individually and from clean build_root. The first set is from trunk, the second is from feeds/packages.

Signed-off-by: Joe Roback <joe@roback.cc>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@22967 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb
2010-09-07 10:04:42 +00:00
parent 8bff2388a7
commit aa323f78f1
20 changed files with 37 additions and 13 deletions

View File

@ -16,7 +16,8 @@ PKG_SOURCE_URL:=http://www.ijg.org/files/ \
ftp://ftp.uu.net/graphics/jpeg/
PKG_MD5SUM:=dbd5f3b47ed13132f04c685d608a7547
PKG_FIXUP = libtool
PKG_FIXUP:=libtool
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
@ -63,7 +64,7 @@ endef
define Build/Compile
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
$(MAKE) -C $(PKG_BUILD_DIR) \
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
LIBTOOL="./libtool --tag=CC" \
prefix="$(PKG_INSTALL_DIR)/usr" \
exec_prefix="$(PKG_INSTALL_DIR)/usr" \