X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d9d1b68745a739772a18fc458b6ebb4091d0ad23..f1645a9a1260bf25ba065dd6d36f2d69c2d5717b:/obsolete-buildroot/make/ebtables.mk?ds=sidebyside diff --git a/obsolete-buildroot/make/ebtables.mk b/obsolete-buildroot/make/ebtables.mk index 8fec4e8d6..5db6cd85a 100644 --- a/obsolete-buildroot/make/ebtables.mk +++ b/obsolete-buildroot/make/ebtables.mk @@ -1,8 +1,11 @@ -############################################################# +######################################################################## # # ebtables # -############################################################# +# Utility that enables basic Ethernet frame filtering on a Linux bridge, +# MAC NAT and brouting. +# +######################################################################## EBTABLES_NAME=ebtables EBTABLES_VERSION=v2.0.6 @@ -20,15 +23,17 @@ $(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 $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(EBTABLES_BUILD_DIR) \ - CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" + CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \ + 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 \