summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2025-07-20 19:59:58 +0000
committerHauke Mehrtens2025-07-25 23:11:21 +0000
commite9ae1f678cc4a2fc785f427c2d30ee799113173f (patch)
tree4ab08dc838b033b40e75688f592331023af0063e
parent6ff85791c571466231b4180b433c1561fb68ba23 (diff)
downloadopenwrt-e9ae1f678cc4a2fc785f427c2d30ee799113173f.tar.gz
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@hauke-m.de>
-rw-r--r--target/linux/apm821xx/modules.mk2
1 files changed, 1 insertions, 1 deletions
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,@TARGET_apm821xx)
endef
define KernelPackage/ata-dwc/description