linux: don't break kmod-fs-nfs for Kernels < 3.6.x

SVN-Revision: 39462
This commit is contained in:
Jo-Philipp Wich 2014-02-04 15:55:03 +00:00
parent bc5b6efe23
commit 84bf8e1f1a

View File

@ -225,9 +225,14 @@ define KernelPackage/fs-nfs
CONFIG_NFS_FS \ CONFIG_NFS_FS \
CONFIG_NFS_USE_LEGACY_DNS=n \ CONFIG_NFS_USE_LEGACY_DNS=n \
CONFIG_NFS_USE_NEW_IDMAPPER=n CONFIG_NFS_USE_NEW_IDMAPPER=n
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
FILES:= \ FILES:= \
$(LINUX_DIR)/fs/nfs/nfs.ko \ $(LINUX_DIR)/fs/nfs/nfs.ko \
$(LINUX_DIR)/fs/nfs/nfsv3.ko $(LINUX_DIR)/fs/nfs/nfsv3.ko
else
FILES:= \
$(LINUX_DIR)/fs/nfs/nfs.ko
endif
AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3) AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
endef endef