diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-04 15:55:03 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-04 15:55:03 +0000 |
commit | e04e75da9124ce577592457a049d531d9b621dc9 (patch) | |
tree | 937816281901f435b8bf68dd90cb04b4bff5540a /package/kernel/linux | |
parent | 37954497d3cf47c571a9c73f1aadfa15f6bfb1eb (diff) |
linux: don't break kmod-fs-nfs for Kernels < 3.6.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39462 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/fs.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 60933f2192..867117fab0 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -225,9 +225,14 @@ define KernelPackage/fs-nfs CONFIG_NFS_FS \ CONFIG_NFS_USE_LEGACY_DNS=n \ CONFIG_NFS_USE_NEW_IDMAPPER=n +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1) FILES:= \ $(LINUX_DIR)/fs/nfs/nfs.ko \ $(LINUX_DIR)/fs/nfs/nfsv3.ko +else + FILES:= \ + $(LINUX_DIR)/fs/nfs/nfs.ko +endif AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3) endef |