aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-08-06 00:52:50 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-08-10 21:36:17 +0200
commit724ef7b484453b45ad03a108033684fd6c8312e2 (patch)
treefae16e11d5bc25f3e95e36fd1b4b7aa74d30cc04 /package/kernel
parentd29353d30e1ed5eb0fb0667934dc285faea8d2a3 (diff)
downloadupstream-724ef7b484453b45ad03a108033684fd6c8312e2.tar.gz
upstream-724ef7b484453b45ad03a108033684fd6c8312e2.tar.bz2
upstream-724ef7b484453b45ad03a108033684fd6c8312e2.zip
kernel: kmod-fs-fscache: Add cachefiles.ko
The CONFIG_CACHEFILES configuration option makes the kernel build cachefiles.ko, also package it. Build CONFIG_CACHEFILES as module and do not try to build it into the kernel. This did not work because it depended on CONFIG_FSCACHE which was already build as module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/fs.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 6732c7c73a..0e4c0c091a 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -260,16 +260,18 @@ define KernelPackage/fs-fscache
TITLE:=General filesystem local cache manager
DEPENDS:=+kmod-fs-netfs
KCONFIG:=\
- CONFIG_FSCACHE=m \
+ CONFIG_FSCACHE \
CONFIG_FSCACHE_STATS=y \
CONFIG_FSCACHE_HISTOGRAM=n \
CONFIG_FSCACHE_DEBUG=n \
CONFIG_FSCACHE_OBJECT_LIST=n \
- CONFIG_CACHEFILES=y \
+ CONFIG_CACHEFILES \
CONFIG_CACHEFILES_DEBUG=n \
CONFIG_CACHEFILES_HISTOGRAM=n
- FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
- AUTOLOAD:=$(call AutoLoad,29,fscache)
+ FILES:= \
+ $(LINUX_DIR)/fs/fscache/fscache.ko \
+ $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
+ AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
endef
$(eval $(call KernelPackage,fs-fscache))