From: Rafał Miłecki Date: Wed, 12 Oct 2022 09:42:36 +0000 (+0200) Subject: kernel: disable kmod-fs-ntfs3 for Linux 5.10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad0731cc65cd2c42ac829fb2c38b4f616f245209;p=openwrt%2Fstaging%2Fansuel.git kernel: disable kmod-fs-ntfs3 for Linux 5.10 This new NTFS driver was added in kernel 5.15. Avoid building empty package for kernel 5.10. Fixes: bd0db6017b192 ("kernel: 5.15: add new module") Signed-off-by: Rafał Miłecki --- diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 3ad458286f..c4b6861192 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -649,6 +649,7 @@ define KernelPackage/fs-ntfs3 KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko $(call AddDepends/nls) + DEPENDS+=@!LINUX_5_10 AUTOLOAD:=$(call AutoLoad,80,ntfs3) endef