From f32d3bc30e83079d353fe72e8f33dfa741bae292 Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Wed, 9 Mar 2005 22:55:13 +0000
Subject: [PATCH] Add kmod-nfs package

SVN-Revision: 360
---
 openwrt/package/linux/Config.in                | 7 +++++++
 openwrt/package/linux/Makefile                 | 5 +++++
 openwrt/package/linux/control/kmod-nfs.control | 8 ++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 openwrt/package/linux/control/kmod-nfs.control

diff --git a/openwrt/package/linux/Config.in b/openwrt/package/linux/Config.in
index 81cf74bca4..bcb73db916 100644
--- a/openwrt/package/linux/Config.in
+++ b/openwrt/package/linux/Config.in
@@ -29,6 +29,13 @@ config BR2_PACKAGE_KMOD_IPT6
 	help
 	  IPv6 firewalling support
 
+config BR2_PACKAGE_KMOD_NFS
+	tristate "NFS support"
+	default m
+	help
+	  Kernel modules for NFS support
+	  Includes lockd, nfs and sunrpc
+
 config BR2_PACKAGE_KMOD_USB
 	tristate "USB/SCSI support"
 	default m
diff --git a/openwrt/package/linux/Makefile b/openwrt/package/linux/Makefile
index 5909493ae4..c6c270b2d9 100644
--- a/openwrt/package/linux/Makefile
+++ b/openwrt/package/linux/Makefile
@@ -40,6 +40,11 @@ $(eval $(call KMOD_template,IPT6,ip6tables,\
 $(eval $(call KMOD_template,IPV6,ipv6,\
 	$(MODULES_DIR)/kernel/net/ipv6/ipv6.o \
 ))
+$(eval $(call KMOD_template,NFS,nfs,\
+	$(MODULES_DIR)/kernel/fs/lockd/*.o \
+	$(MODULES_DIR)/kernel/fs/nfs/*.o \
+	$(MODULES_DIR)/kernel/net/sunrpc/*.o \
+))
 $(eval $(call KMOD_template,USB,usb,\
 	$(MODULES_DIR)/kernel/drivers/scsi/*.o \
 	$(MODULES_DIR)/kernel/drivers/usb/*.o \
diff --git a/openwrt/package/linux/control/kmod-nfs.control b/openwrt/package/linux/control/kmod-nfs.control
new file mode 100644
index 0000000000..9d38c310ea
--- /dev/null
+++ b/openwrt/package/linux/control/kmod-nfs.control
@@ -0,0 +1,8 @@
+Package: kmod-nfs
+Priority: optional
+Section: sys
+Version: 2.4.29-1
+Architecture: mipsel
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Kernel modules for NFS support
-- 
2.30.2