[OpenWrt-Devel] [PATCH 18/29] kernel: Adapt to move of autofs4 in kernel 4.19
Hauke Mehrtens
hauke at hauke-m.de
Sun Dec 9 10:14:40 EST 2018
autofs4 is now in the fs/autofs/ folder in kernel 4.19
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/fs.mk | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 7080d9e4ae..4e8acdeb21 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -49,8 +49,12 @@ $(eval $(call KernelPackage,fs-afs))
define KernelPackage/fs-autofs4
SUBMENU:=$(FS_MENU)
TITLE:=AUTOFS4 filesystem support
- KCONFIG:=CONFIG_AUTOFS4_FS
- FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
+ KCONFIG:= \
+ CONFIG_AUTOFS4_FS \
+ CONFIG_AUTOFS_FS
+ FILES:= \
+ $(LINUX_DIR)/fs/autofs4/autofs4.ko at lt4.18 \
+ $(LINUX_DIR)/fs/autofs/autofs4.ko at ge4.18
AUTOLOAD:=$(call AutoLoad,30,autofs4)
endef
--
2.11.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list