Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16085
Signed-off-by: Robert Marko <[email protected]>
Mieczyslaw Nalewaj 1 year ago
parent
commit
ce6145b818
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/kernel/linux/modules/other.mk

+ 1 - 1
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@ge6.6 \
 	$(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
 endef