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 | e295e9cf7cfbd7f30c932549588867c137c9d103 (patch) | |
tree | 463c013e23557a5b9082ada45a3d7b583857450e /package/fping | |
parent | 767792e7a621d580a23e8ba0df1bf2c1f664f744 (diff) | |
download | upstream-e295e9cf7cfbd7f30c932549588867c137c9d103.tar.gz upstream-e295e9cf7cfbd7f30c932549588867c137c9d103.tar.bz2 upstream-e295e9cf7cfbd7f30c932549588867c137c9d103.zip |
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
Diffstat (limited to 'package/fping')
-rw-r--r-- | package/fping/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/fping/Makefile b/package/fping/Makefile index 20a8ade91b..123ebe68a2 100644 --- a/package/fping/Makefile +++ b/package/fping/Makefile @@ -14,6 +14,8 @@ PKG_CAT:=zcat PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg +.NOTPARALLEL: + $(DL_DIR)/$(PKG_SOURCE): $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL) @@ -46,11 +48,11 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.patched touch $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/$(PKG_NAME)4: $(PKG_BUILD_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) + $(MAKE) -j1 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)4 $(PKG_BUILD_DIR)/$(PKG_NAME)6: $(PKG_BUILD_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -DIPV6=1" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) + $(MAKE) -j1 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -DIPV6=1" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)6 $(PKG_IPK): $(PKG_BUILD_DIR)/$(PKG_NAME)4 $(PKG_BUILD_DIR)/$(PKG_NAME)6 |