mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
7e614a3412
commit
5656625acb
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user