diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-14 07:45:33 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-14 07:45:33 +0000 |
commit | 720eb91f488ec4633e6ab4cd43f369c2f553c49c (patch) | |
tree | 97252453b866f18416b0a8bd0f9220e6753e669f /package/kernel | |
parent | fa3c51dade1a107a3d5a1618918d92b14e6c4be1 (diff) |
Also package exportfs for nfsd to work properly on 2.6 kernels (#1899)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7627 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/fs.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index f28c9ad68..3e8cd7c28 100644 --- a/package/kernel/modules/fs.mk +++ b/package/kernel/modules/fs.mk @@ -106,10 +106,19 @@ define KernelPackage/fs-nfsd DESCRIPTION:=Kernel module for NFS kernel server support KCONFIG:=$(CONFIG_NFSD) SUBMENU:=$(FSMENU) - AUTOLOAD:=$(call AutoLoad,30,nfsd) FILES:= \ $(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX) endef + +define KernelPackage/fs-nfsd/2.4 + AUTOLOAD:=$(call AutoLoad,30,nfsd) +endef + +define KernelPackage/fs-nfsd/2.6 + FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,exportfs nfsd) +endef + $(eval $(call KernelPackage,fs-nfsd)) define KernelPackage/fs-msdos |