Parcourir la source

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 <[email protected]>
Hauke Mehrtens il y a 5 mois
Parent
commit
e9ae1f678c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      target/linux/apm821xx/modules.mk

+ 1 - 1
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