summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules')
-rwxr-xr-xobsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules31
1 files changed, 31 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules b/obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules
new file mode 100755
index 000000000..58e95f741
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-tun/CONTROL/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+ifeq ($(strip $(TOPDIR)),)
+TOPDIR := $(shell pwd)/../../../..
+endif
+
+
+PACKAGE := kmod-tun
+
+MY_INSTALL_DIR := /tmp/$(PACKAGE)
+
+
+build:
+
+
+install:
+ rm -rf $(MY_INSTALL_DIR)
+ install -m0755 -d $(MY_INSTALL_DIR)/lib/
+ bzcat $(TOPDIR)/openwrt-kmodules.tar.bz2 | tar -C $(MY_INSTALL_DIR)/lib/ -xvf - \
+ modules/2.4.20/kernel/drivers/net/tun.o \
+
+ mv -f \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/drivers/net/tun.o \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/
+
+ rm -rf \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
+
+
+clean:
+