From 5cd761710a3cf977ef1c8dea887f687521ca9114 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 14 Nov 2024 12:53:29 +0800 Subject: [PATCH] ath10k-ct: fix build with some target --- package/kernel/ath10k-ct/Makefile | 2 +- package/kernel/linux/modules/fs.mk | 17 ----------------- package/kernel/linux/modules/other.mk | 2 ++ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile index be5b3888252316..69625bc0a3f048 100644 --- a/package/kernel/ath10k-ct/Makefile +++ b/package/kernel/ath10k-ct/Makefile @@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/ath10k-ct SUBMENU:=Wireless Drivers TITLE:=ath10k-ct driver optimized for CT ath10k firmware - DEPENDS:=@(arm||aarch64||mips||mipsel) +kmod-mac80211 +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @PCI_SUPPORT +kmod-hwmon-core + DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_qualcommax||TARGET_ath79) +kmod-mac80211 +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @PCI_SUPPORT +kmod-hwmon-core FILES:=\ $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_pci.ko \ $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 969f2d3704e8b1..5ea917cc1f45ed 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -638,23 +638,6 @@ endef $(eval $(call KernelPackage,fs-vfat)) - -define KernelPackage/fs-virtiofs - SUBMENU:=$(FS_MENU) - TITLE:=Virtiofs filesystem support - DEPENDS:=+kmod-fuse - KCONFIG:=CONFIG_VIRTIO_FS - FILES:=$(LINUX_DIR)/fs/fuse/virtiofs.ko - AUTOLOAD:=$(call AutoLoad,30,virtiofs) -endef - -define KernelPackage/fs-virtiofs/description - Kernel module for Virtiofs filesystem support -endef - -$(eval $(call KernelPackage,fs-virtiofs)) - - define KernelPackage/fs-xfs SUBMENU:=$(FS_MENU) TITLE:=XFS filesystem support diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index f3e01ffc2f656c..c0e7c2188b3e0b 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -762,6 +762,7 @@ define KernelPackage/mtdtests TITLE:=MTD subsystem tests KCONFIG:=CONFIG_MTD_TESTS FILES:=\ + $(LINUX_DIR)/drivers/mtd/tests/mtd_nandbiterrs.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \ @@ -769,6 +770,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_torturetest.ko endef