From 0e7e3013a96b017ca52b08144c421cf208aeb6ae Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 8 Apr 2005 09:08:38 +0000 Subject: add some fixes for parallel build (does not work with -j4 yet, but it gets most packages compiled now) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@577 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ncurses/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/ncurses') diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index 3835af6c1a..3d73e7747f 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -20,6 +20,8 @@ PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR) PKG_IPK := $(PACKAGE_DIR)/lib$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk +.NOTPARALLEL: + $(DL_DIR)/$(PKG_SOURCE_FILE): mkdir -p $(DL_DIR) $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE) @@ -35,7 +37,7 @@ $(PKG_IPK): $(PKG_BUILD_DIR)/ipkg/rules cd $(PKG_BUILD_DIR); \ TOPDIR="$(TOPDIR)" IPKG_RULES_INC="$(TOPDIR)/rules.mk" \ INSTALL_DIR="$(STAGING_DIR)" \ - ./ipkg/rules package + $(MAKE) -j1 -f ./ipkg/rules package $(IPKG_STATE_DIR)/info/lib$(PKG_NAME).list: $(PKG_IPK) $(IPKG) install $(PKG_IPK) -- cgit v1.2.3