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>
master
Mathias Kresin 7 years ago
parent 512c57e7f3
commit 4bb6ee465e
  1. 9
      target/linux/ramips/image/mt7621.mk

@ -171,7 +171,7 @@ define Device/d-team_newifi-d2
IMAGE_SIZE := $(ralink_default_fw_size_32M) IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_TITLE := Newifi D2 DEVICE_TITLE := Newifi D2
DEVICE_PACKAGES := \ 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 endef
TARGET_DEVICES += d-team_newifi-d2 TARGET_DEVICES += d-team_newifi-d2
@ -299,8 +299,7 @@ define Device/w2914nsv2
IMAGE_SIZE := $(ralink_default_fw_size_16M) IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := WeVO W2914NS v2 DEVICE_TITLE := WeVO W2914NS v2
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport kmod-mt76 \ kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini
wpad-mini
endef endef
TARGET_DEVICES += w2914nsv2 TARGET_DEVICES += w2914nsv2
@ -314,7 +313,7 @@ define Device/wf-2881
UBINIZE_OPTS := -E 5 UBINIZE_OPTS := -E 5
IMAGE/sysupgrade.bin := append-kernel | append-ubi | append-metadata | check-size $$$$(IMAGE_SIZE) IMAGE/sysupgrade.bin := append-kernel | append-ubi | append-metadata | check-size $$$$(IMAGE_SIZE)
DEVICE_TITLE := NETIS WF-2881 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 endef
TARGET_DEVICES += wf-2881 TARGET_DEVICES += wf-2881
@ -352,7 +351,7 @@ define Device/youhua_wr1200js
IMAGE_SIZE := 16064k IMAGE_SIZE := 16064k
DEVICE_TITLE := YouHua WR1200JS DEVICE_TITLE := YouHua WR1200JS
DEVICE_PACKAGES := \ 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 endef
TARGET_DEVICES += youhua_wr1200js TARGET_DEVICES += youhua_wr1200js

Loading…
Cancel
Save