mt76: fix dependencies
authorFelix Fietkau <nbd@nbd.name>
Sat, 6 Oct 2018 11:08:49 +0000 (13:08 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 6 Oct 2018 12:26:32 +0000 (14:26 +0200)
- make kmod-mt76-core hidden
- select kmod-mt76-core and kmod-usb-core from mt76-usb

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mt76/Makefile

index 49d459623c6cebcaa116e37ee71bc4e5c7a06767..112d43655d68bebc5d1b729e0d9325fb31688bf0 100644 (file)
@@ -47,6 +47,7 @@ endef
 define KernelPackage/mt76-core
   $(KernelPackage/mt76-default)
   TITLE:=MediaTek MT76xx wireless driver
+  HIDDEN:=1
   FILES:=\
        $(PKG_BUILD_DIR)/mt76.ko
 endef
@@ -54,7 +55,7 @@ endef
 define KernelPackage/mt76-usb
   $(KernelPackage/mt76-default)
   TITLE:=MediaTek MT76xx wireless driver USB support
-  DEPENDS += kmod-usb-core kmod-mt76-core
+  DEPENDS += +kmod-usb-core +kmod-mt76-core
   HIDDEN:=1
   FILES:=\
        $(PKG_BUILD_DIR)/mt76-usb.ko