From d3e23fc4db1bf5e87d2ad2476ff77955ac63ce85 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Sun, 15 Mar 2020 19:35:50 +0900 Subject: [PATCH] oxnas: use AddDepends in modules.mk Signed-off-by: Sungbo Eo --- target/linux/oxnas/modules.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/target/linux/oxnas/modules.mk b/target/linux/oxnas/modules.mk index e7c959579b4..35d03c5d613 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 -- 2.30.2