aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-16 15:46:03 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-19 16:08:12 +0100
commita50441b6e9e1a93deedf207817275cba335f9615 (patch)
treef2d0d4459525100bc00d04d7b46d470ec9bc3e0e /package/kernel
parent5c469e089e291eb1b7494cfaabec5f67d7c32689 (diff)
downloadupstream-a50441b6e9e1a93deedf207817275cba335f9615.tar.gz
upstream-a50441b6e9e1a93deedf207817275cba335f9615.tar.bz2
upstream-a50441b6e9e1a93deedf207817275cba335f9615.zip
kernel: add exfat again
With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Added removed config options for 5.4 to generic config. Signed-off-by: Rosen Penev <rosenp@gmail.com> [Set CONFIG_EXFAT_ config options to default values] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/fs.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 91ef535821..7de1a0673c 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -164,6 +164,26 @@ endef
$(eval $(call KernelPackage,fs-efivarfs))
+define KernelPackage/fs-exfat
+ SUBMENU:=$(FS_MENU)
+ TITLE:=exFAT filesystem support
+ KCONFIG:= \
+ CONFIG_EXFAT_FS \
+ CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
+ FILES:= \
+ $(LINUX_DIR)/drivers/staging/exfat/exfat.ko@lt5.7 \
+ $(LINUX_DIR)/fs/exfat/exfat.ko@ge5.7
+ AUTOLOAD:=$(call AutoLoad,30,exfat,1)
+ DEPENDS:=+kmod-nls-base
+endef
+
+define KernelPackage/fs-exfat/description
+ Kernel module for exFAT filesystem support
+endef
+
+$(eval $(call KernelPackage,fs-exfat))
+
+
define KernelPackage/fs-exportfs
SUBMENU:=$(FS_MENU)
TITLE:=exportfs kernel server support