[openwrt/openwrt] apm821xx: kmod-ata-dwc: Make kernel module depend on target
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 25 16:47:51 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e9ae1f678cc4a2fc785f427c2d30ee799113173f
commit e9ae1f678cc4a2fc785f427c2d30ee799113173f
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 20 21:59:58 2025 +0200
apm821xx: kmod-ata-dwc: Make kernel module depend on target
The kmod-ata-dwc is included in target modules.mk file, it should also
depend on the target, otherwise it can be selected from every target.
Link: https://github.com/openwrt/openwrt/pull/19480
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/apm821xx/modules.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/apm821xx/modules.mk b/target/linux/apm821xx/modules.mk
index 1abb12a483..9841eccf90 100644
--- a/target/linux/apm821xx/modules.mk
+++ b/target/linux/apm821xx/modules.mk
@@ -3,7 +3,7 @@ define KernelPackage/ata-dwc
KCONFIG:=CONFIG_SATA_DWC
FILES:=$(LINUX_DIR)/drivers/ata/sata_dwc_460ex.ko
AUTOLOAD:=$(call AutoLoad,40,sata_dwc_460ex,1)
- $(call AddDepends/ata)
+ $(call AddDepends/ata, at TARGET_apm821xx)
endef
define KernelPackage/ata-dwc/description
More information about the lede-commits
mailing list