summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-06-19 20:44:36 +0200
committerMathias Kresin <dev@kresin.me>2018-06-19 22:44:27 +0200
commit3a99b278cdbde5e17bcb2584d3916c643bf318ab (patch)
tree75504a0ecea74b51ffeb7011edbe673361ca6589
parent2af5cfe9b748914b49f3a157addb40ad7a200e62 (diff)
downloadmtk-20170518-3a99b278cdbde5e17bcb2584d3916c643bf318ab.zip
mtk-20170518-3a99b278cdbde5e17bcb2584d3916c643bf318ab.tar.gz
mtk-20170518-3a99b278cdbde5e17bcb2584d3916c643bf318ab.tar.bz2
ramips: mt7621: fix wireless package selection
Add wpad-mini if wireless drivers are included. Drop the mt76 package if both of the provided drivers are included with their own packages. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rw-r--r--target/linux/ramips/image/mt7621.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index b20f359..4ef4546 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -163,7 +163,7 @@ define Device/d-team_newifi-d2
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_TITLE := Newifi D2
DEVICE_PACKAGES := \
- kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini
endef
TARGET_DEVICES += d-team_newifi-d2
@@ -291,8 +291,7 @@ define Device/w2914nsv2
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := WeVO W2914NS v2
DEVICE_PACKAGES := \
- kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport kmod-mt76 \
- wpad-mini
+ kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini
endef
TARGET_DEVICES += w2914nsv2
@@ -306,7 +305,7 @@ define Device/wf-2881
UBINIZE_OPTS := -E 5
IMAGE/sysupgrade.bin := append-kernel | append-ubi | append-metadata | check-size $$$$(IMAGE_SIZE)
DEVICE_TITLE := NETIS WF-2881
- DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini
endef
TARGET_DEVICES += wf-2881
@@ -344,7 +343,7 @@ define Device/youhua_wr1200js
IMAGE_SIZE := 16064k
DEVICE_TITLE := YouHua WR1200JS
DEVICE_PACKAGES := \
- kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini
endef
TARGET_DEVICES += youhua_wr1200js