From: Mathias Kresin Date: Tue, 19 Jun 2018 18:44:36 +0000 (+0200) Subject: ramips: mt7621: fix wireless package selection X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4bb6ee465e4601e60e9624f590f028cc9c4e2f2e;p=openwrt%2Fstaging%2Fyousong.git 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 --- diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 5bbdd2074e..f8fb28196b 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -171,7 +171,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 @@ -299,8 +299,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 @@ -314,7 +313,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 @@ -352,7 +351,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