Fix typo
[openwrt.git] / obsolete-buildroot / make / ebtables.mk
index b2bbe5a..5db6cd8 100644 (file)
@@ -23,7 +23,7 @@ $(EBTABLES_BUILD_DIR)/.unpacked: $(DL_DIR)/$(EBTABLES_SOURCE)
 
 $(EBTABLES_BUILD_DIR)/.configured: $(EBTABLES_BUILD_DIR)/.unpacked
        # Allow patches.  Needed for openwrt for instance.
-       $(SOURCE_DIR)/patch-kernel.sh $(EBTABLES_BUILD_DIR) $(SOURCE_DIR) $(EBTABLES_NAME)-*.patch
+       $(SOURCE_DIR)/patch-kernel.sh $(LINUX_DIR)/../.. $(SOURCE_DIR) $(EBTABLES_NAME)-*.patch
        touch  $(EBTABLES_BUILD_DIR)/.configured
 
 $(EBTABLES_BUILD_DIR)/$(EBTABLES_NAME): $(EBTABLES_BUILD_DIR)/.configured
@@ -33,6 +33,7 @@ $(EBTABLES_BUILD_DIR)/$(EBTABLES_NAME): $(EBTABLES_BUILD_DIR)/.configured
                LDFLAGS="$(TARGET_LDFLAGS)"
 
 $(TARGET_DIR)/sbin/$(EBTABLES_NAME): $(EBTABLES_BUILD_DIR)/$(EBTABLES_NAME)
+       mkdir -p $(TARGET_DIR)/sbin/
        $(TARGET_CONFIGURE_OPTS) \
        $(MAKE) -C $(EBTABLES_BUILD_DIR)        \
                MANDIR=$(TARGET_DIR)/usr/share/man \
This page took 0.022688 seconds and 4 git commands to generate.