diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-04 15:55:03 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-04 15:55:03 +0000 |
commit | 84bf8e1f1a2a72411017518625dea9f8c5db8e35 (patch) | |
tree | 4813a6ee274fd1025e7d01da9833067dde45ca96 /package | |
parent | bc5b6efe2320f088c404e4e6952bdc18e0b383f0 (diff) | |
download | upstream-84bf8e1f1a2a72411017518625dea9f8c5db8e35.tar.gz upstream-84bf8e1f1a2a72411017518625dea9f8c5db8e35.tar.bz2 upstream-84bf8e1f1a2a72411017518625dea9f8c5db8e35.zip |
linux: don't break kmod-fs-nfs for Kernels < 3.6.x
SVN-Revision: 39462
Diffstat (limited to 'package')
-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 |