mt76: fix dependencies

- make kmod-mt76-core hidden
- select kmod-mt76-core and kmod-usb-core from mt76-usb

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 6 years ago
parent d51cbefe86
commit ffe824e912
  1. 3
      package/kernel/mt76/Makefile

@ -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

Loading…
Cancel
Save