aboutsummaryrefslogtreecommitdiffstats
path: root/package/ebtables/ebtables.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-03-06 03:34:52 +0000
committerMike Baker <mbm@openwrt.org>2005-03-06 03:34:52 +0000
commit3d904bb14a330fb72f60d4b78a40435389398655 (patch)
tree4c6922d42353c39b46dcd7cd09982fbe9c1f9765 /package/ebtables/ebtables.mk
parentb92a98900c8308542da9f758cd656880081f1196 (diff)
downloadupstream-3d904bb14a330fb72f60d4b78a40435389398655.tar.gz
upstream-3d904bb14a330fb72f60d4b78a40435389398655.tar.bz2
upstream-3d904bb14a330fb72f60d4b78a40435389398655.zip
nbd's makefile/menuconfig rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ebtables/ebtables.mk')
-rw-r--r--package/ebtables/ebtables.mk41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk
deleted file mode 100644
index e7982ca1f4..0000000000
--- a/package/ebtables/ebtables.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
-
-EBTABLES_SOURCE_URL=http://umn.dl.sourceforge.net/sourceforge/ebtables/
-EBTABLES_SOURCE=ebtables-v2.0.6.tar.gz
-EBTABLES_BUILD_DIR=$(BUILD_DIR)/ebtables-v2.0.6
-EBTABLES_TARGET_BINARY:=usr/sbin/ebtables
-
-$(DL_DIR)/$(EBTABLES_SOURCE):
- $(WGET) -P $(DL_DIR) $(EBTABLES_SOURCE_URL)/$(EBTABLES_SOURCE)
-
-$(EBTABLES_BUILD_DIR)/.unpacked: $(DL_DIR)/$(EBTABLES_SOURCE)
- zcat $(DL_DIR)/$(EBTABLES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(EBTABLES_BUILD_DIR)/.unpacked
-
-$(EBTABLES_BUILD_DIR)/ebtables: $(EBTABLES_BUILD_DIR)/.unpacked
- $(MAKE) -C $(EBTABLES_BUILD_DIR) \
- CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
- CFLAGS="$(TARGET_CFLAGS) -Wall"
-
-$(TARGET_DIR)/$(EBTABLES_TARGET_BINARY): $(EBTABLES_BUILD_DIR)/ebtables
- cp -af $(EBTABLES_BUILD_DIR)/ebtables $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY)
- $(STRIP) $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY)
-
-ebtables: $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY)
-
-ebtables-source: $(DL_DIR)/$(EBTABLES_SOURCE)
-
-ebtables-clean:
- #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(EBTABLES_BUILD_DIR) uninstall
- -$(MAKE) -C $(EBTABLES_BUILD_DIR) clean
-
-ebtables-dirclean:
- rm -rf $(EBTABLES_BUILD_DIR)
-
-ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),y)
-TARGETS+=ebtables
-endif