summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/make/kmod-ipt6.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-24 23:50:14 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-24 23:50:14 +0000
commit097635b79bc6ddd6066a8369db6e298a25daa96e (patch)
treedb8218863c9124ae287832ccd846ad4d96c2e05e /obsolete-buildroot/make/kmod-ipt6.mk
parent54da0f9e4ba892d2613d4f0d0c4bf4eecdcfd0a4 (diff)
massive changes
- sstrip cleanup from mjn3 - various patches from nico and others: http://openwrt.org/forum/viewtopic.php?t=368 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@145 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/make/kmod-ipt6.mk')
-rw-r--r--obsolete-buildroot/make/kmod-ipt6.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/obsolete-buildroot/make/kmod-ipt6.mk b/obsolete-buildroot/make/kmod-ipt6.mk
new file mode 100644
index 000000000..cc8e4271c
--- /dev/null
+++ b/obsolete-buildroot/make/kmod-ipt6.mk
@@ -0,0 +1,15 @@
+KMOD-IPT6:=kmod-ipt6
+KMOD-IPT6_IPK:=$(KMOD-IPT6)_2.4.20-1_mipsel.ipk
+KMOD-IPT6_IPK_DIR:=$(BUILD_DIR)/$(KMOD-IPT6)-2.4.20-ipk
+
+$(BUILD_DIR)/$(KMOD-IPT6_IPK):
+ mkdir -p $(KMOD-IPT6_IPK_DIR)/CONTROL
+ mkdir -p $(KMOD-IPT6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6/netfilter
+ install -m 644 $(OPENWRT_IPK_DIR)/$(KMOD-IPT6)/$(KMOD-IPT6).control $(KMOD-IPT6_IPK_DIR)/CONTROL/control
+ install -m 644 $(BUILD_DIR)/linux/modules/lib/modules/2.4.20/kernel/net/ipv6/netfilter/* $(KMOD-IPT6_IPK_DIR)/lib/modules/2.4.20/kernel/net/ipv6/netfilter/
+ cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(KMOD-IPT6_IPK_DIR)
+
+kmod-ipt6-ipk: $(BUILD_DIR)/$(KMOD-IPT6_IPK)
+
+kmod-ipt6-distclean:
+ rm -rf $(KMOD-IPT6_IPK_DIR)