iptables seems to not be safe for 'make -jN' for any N>1
authorEric Andersen <andersen@codepoet.org>
Thu, 14 Dec 2006 05:40:06 +0000 (05:40 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 14 Dec 2006 05:40:06 +0000 (05:40 -0000)
package/iptables/iptables.mk

index 0a0fb9c317ebc733854126a337adf1bf49f96772..a68c2019f110b48f408119fc2fd295733375a228 100644 (file)
@@ -26,13 +26,13 @@ $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
 
 $(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured
        $(TARGET_CONFIGURE_OPTS) \
-       $(MAKE) -C $(IPTABLES_BUILD_DIR) \
+       $(MAKE1) -C $(IPTABLES_BUILD_DIR) \
                KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \
                CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)"
 
 $(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables
        $(TARGET_CONFIGURE_OPTS) \
-       $(MAKE) -C $(IPTABLES_BUILD_DIR) \
+       $(MAKE1) -C $(IPTABLES_BUILD_DIR) \
                KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \
                CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)" \
                DESTDIR=$(TARGET_DIR) install
@@ -45,8 +45,8 @@ iptables: $(TARGET_DIR)/usr/sbin/iptables
 iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE)
 
 iptables-clean:
-       $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) uninstall
-       -$(MAKE) -C $(IPTABLES_BUILD_DIR) clean
+       $(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(IPTABLES_BUILD_DIR) uninstall
+       -$(MAKE1) -C $(IPTABLES_BUILD_DIR) clean
 
 iptables-dirclean:
        rm -rf $(IPTABLES_BUILD_DIR)