[openwrt/openwrt] kernel: Add kmod-mfd-test for kernel 6.6 only

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 6 05:04:35 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ce6145b8189f6eaae7b6ebd6c9770b56fb72b368

commit ce6145b8189f6eaae7b6ebd6c9770b56fb72b368
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Tue Aug 6 07:36:10 2024 +0200

    kernel: Add kmod-mfd-test for kernel 6.6 only
    
    Compilation of mtd_test.ko should be added only for kernel 6.6 or above.
    
    Fixes 26df88a ("kernel: Add kmod-mfd-test")
    
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16085
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/linux/modules/other.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 222f8880bd..10cb61e8b1 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -597,7 +597,7 @@ define KernelPackage/mtdtests
 	$(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
 	$(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
 	$(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
-	$(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko \
+	$(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko at ge6.6 \
 	$(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
 endef
 




More information about the lede-commits mailing list