summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/make/kmod-ipt6.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 00:42:33 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 00:42:33 +0000
commitf0c8400658ac5b039bb48dbb74b02f75d52b9723 (patch)
tree7ef2c062b8733bbd08473f6c2bed78c7ad9708d1 /obsolete-buildroot/make/kmod-ipt6.mk
parentaa210b58909434abaa63a7a6cd898a43ba61c3f3 (diff)
various patches
nico: buildroot-20040825-kmodules.patch.txt buildroot-20040825-tcpdump.patch.txt buildroot-20040825-libpcap.patch.txt buildroot-20040825-libpthread.patch.txt buildroot-20040825-fprobe.patch.txt buildroot-20040825-pptp-client.patch.txt twolife: iproute2.patch.txt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/make/kmod-ipt6.mk')
-rw-r--r--obsolete-buildroot/make/kmod-ipt6.mk19
1 files changed, 4 insertions, 15 deletions
diff --git a/obsolete-buildroot/make/kmod-ipt6.mk b/obsolete-buildroot/make/kmod-ipt6.mk
index cc8e4271c..c3d78b903 100644
--- a/obsolete-buildroot/make/kmod-ipt6.mk
+++ b/obsolete-buildroot/make/kmod-ipt6.mk
@@ -1,15 +1,4 @@
-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)
+kmod-ipt6-ipk: ipkg-utils $(OPENWRT_IPK_DIR)/kmod-ipt6/CONTROL/*
+ chmod a+x $(OPENWRT_IPK_DIR)/kmod-ipt6/CONTROL/rules
+ cd $(OPENWRT_IPK_DIR)/kmod-ipt6 ; $(IPKG_BUILDPACKAGE)
+ mv $(OPENWRT_IPK_DIR)/kmod-ipt6_*.ipk $(BUILD_DIR) \ No newline at end of file