summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/linux/Config.in7
-rw-r--r--package/linux/Makefile5
-rw-r--r--package/linux/control/kmod-nfs.control8
3 files changed, 20 insertions, 0 deletions
diff --git a/package/linux/Config.in b/package/linux/Config.in
index 81cf74bca..bcb73db91 100644
--- a/package/linux/Config.in
+++ b/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/package/linux/Makefile b/package/linux/Makefile
index 5909493ae..c6c270b2d 100644
--- a/package/linux/Makefile
+++ b/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/package/linux/control/kmod-nfs.control b/package/linux/control/kmod-nfs.control
new file mode 100644
index 000000000..9d38c310e
--- /dev/null
+++ b/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