kernel: Add kmod-mfd-test for kernel 6.6 only
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Tue, 6 Aug 2024 05:36:10 +0000 (07:36 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 6 Aug 2024 12:04:31 +0000 (14:04 +0200)
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@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16085
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/other.mk

index 222f8880bd47b166b88bd341e855ef748799d758..10cb61e8b11f1728bd8a047be593b81e3bfd0d3f 100644 (file)
@@ -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@ge6.6 \
        $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
 endef