From: Hauke Mehrtens Date: Fri, 2 Nov 2018 18:15:59 +0000 (+0100) Subject: kernel: Use kmod-dax on kernel 4.19 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4ff44110319758c36ff28d1d4f9cf7c7f6cbf7f3;p=openwrt%2Fstaging%2Frobimarko.git kernel: Use kmod-dax on kernel 4.19 Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index ab9d7af8ca..d73c8fc4d7 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -209,7 +209,7 @@ $(eval $(call KernelPackage,block2mtd)) define KernelPackage/dax SUBMENU:=$(BLOCK_MENU) TITLE:=DAX: direct access to differentiated memory - DEPENDS:=@LINUX_4_14 + DEPENDS:=@!LINUX_3_18 @!LINUX_4_9 KCONFIG:=CONFIG_DAX FILES:=$(LINUX_DIR)/drivers/dax/dax.ko endef @@ -220,7 +220,7 @@ $(eval $(call KernelPackage,dax)) define KernelPackage/dm SUBMENU:=$(BLOCK_MENU) TITLE:=Device Mapper - DEPENDS:=+kmod-crypto-manager +LINUX_4_14:kmod-dax + DEPENDS:=+kmod-crypto-manager +!(LINUX_3_18||LINUX_4_9):kmod-dax # All the "=n" are unnecessary, they're only there # to stop the config from asking the question. # MIRROR is M because I've needed it for pvmove.