aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-03-15 19:35:50 +0900
committerSungbo Eo <mans0n@gorani.run>2020-03-16 17:13:37 +0900
commitd3e23fc4db1bf5e87d2ad2476ff77955ac63ce85 (patch)
treee5ba8736cc08b859094afab0697c8b18a27efa6e /target/linux
parent688d41bf9347f4a3f9ace68144e5d33f629ebda4 (diff)
downloadupstream-d3e23fc4db1bf5e87d2ad2476ff77955ac63ce85.tar.gz
upstream-d3e23fc4db1bf5e87d2ad2476ff77955ac63ce85.tar.bz2
upstream-d3e23fc4db1bf5e87d2ad2476ff77955ac63ce85.zip
oxnas: use AddDepends in modules.mk
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/oxnas/modules.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/oxnas/modules.mk b/target/linux/oxnas/modules.mk
index e7c959579b..35d03c5d61 100644
--- a/target/linux/oxnas/modules.mk
+++ b/target/linux/oxnas/modules.mk
@@ -1,11 +1,9 @@
define KernelPackage/ata-oxnas-sata
- SUBMENU:=$(BLOCK_MENU)
TITLE:=oxnas Serial ATA support
KCONFIG:=CONFIG_SATA_OXNAS
- DEPENDS:=@TARGET_oxnas
FILES:=$(LINUX_DIR)/drivers/ata/sata_oxnas.ko
AUTOLOAD:=$(call AutoLoad,41,sata_oxnas,1)
- $(call AddDepends/ata)
+ $(call AddDepends/ata,@TARGET_oxnas)
endef
define KernelPackage/ata-oxnas-sata/description
@@ -16,13 +14,11 @@ $(eval $(call KernelPackage,ata-oxnas-sata))
define KernelPackage/usb2-oxnas
- SUBMENU:=$(BLOCK_MENU)
TITLE:=OX820 EHCI driver
- DEPENDS:=@TARGET_oxnas_ox820 +kmod-usb2
KCONFIG:=CONFIG_USB_EHCI_OXNAS
FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-oxnas.ko
AUTOLOAD:=$(call AutoLoad,55,ehci-oxnas,1)
- $(call AddDepends/usb)
+ $(call AddDepends/usb,@TARGET_oxnas_ox820 +kmod-usb2)
endef
define KernelPackage/usb2-oxnas/description