summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL')
-rw-r--r--obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/control8
-rwxr-xr-xobsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/rules39
2 files changed, 47 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/control
new file mode 100644
index 000000000..87cf40940
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/control
@@ -0,0 +1,8 @@
+Package: kmod-nfs
+Priority: optional
+Section: kernel
+Version: 2.4.20-1
+Architecture: mipsel
+Maintainer: Nico <nthill@free.fr>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/buildroot/
+Description: NFS kernel modules
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/rules b/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/rules
new file mode 100755
index 000000000..94129b70b
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-nfs/CONTROL/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+
+ifeq ($(strip $(TOPDIR)),)
+TOPDIR := $(shell pwd)/../../../..
+endif
+
+
+PACKAGE := kmod-nfs
+
+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/fs/lockd/lockd.o \
+ modules/2.4.20/kernel/fs/nfs/nfs.o \
+ modules/2.4.20/kernel/net/sunrpc/sunrpc.o \
+
+ mv -f \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/fs/lockd/*.o \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/
+ mv -f \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/fs/nfs/*.o \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/
+ mv -f \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/net/sunrpc/*.o \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/
+
+ rm -rf \
+ $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
+
+
+clean:
+