diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-08 09:08:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-08 09:08:38 +0000 |
commit | b7d92815a6aaefcf2aa6240346445530473e9c1e (patch) | |
tree | 66a9a28ea0c69b059939becc0f335bc8ec1d5437 /openwrt/package/libelf/Makefile | |
parent | 322b84237cee9e9adb88d32af8f20f384066866e (diff) | |
download | mtk-20170518-b7d92815a6aaefcf2aa6240346445530473e9c1e.zip mtk-20170518-b7d92815a6aaefcf2aa6240346445530473e9c1e.tar.gz mtk-20170518-b7d92815a6aaefcf2aa6240346445530473e9c1e.tar.bz2 |
add some fixes for parallel build (does not work with -j4 yet, but it gets most packages compiled now)
SVN-Revision: 577
Diffstat (limited to 'openwrt/package/libelf/Makefile')
-rw-r--r-- | openwrt/package/libelf/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openwrt/package/libelf/Makefile b/openwrt/package/libelf/Makefile index 8971e86..0cfb23c 100644 --- a/openwrt/package/libelf/Makefile +++ b/openwrt/package/libelf/Makefile @@ -15,6 +15,8 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR) PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk PKG_IPK_DIR :=$(PKG_BUILD_DIR)/ipkg/ +.NOTPARALLEL: + $(DL_DIR)/$(PKG_SOURCE_FILE): mkdir -p $(DL_DIR) $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE) @@ -38,11 +40,11 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked touch $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/lib/libelf.so.$(LIBELF_VER): $(PKG_BUILD_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \ + $(MAKE) -j1 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \ -C $(PKG_BUILD_DIR) $(STAGING_DIR)/lib/libelf.so: $(PKG_BUILD_DIR)/lib/libelf.so.$(LIBELF_VER) - $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \ + $(MAKE) -j1 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \ -C $(PKG_BUILD_DIR)/lib instroot="$(STAGING_DIR)" install |