From: Mathias Kresin Date: Tue, 19 Jun 2018 18:44:36 +0000 (+0200) Subject: ramips: mt7621: fix wireless package selection X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a99b278cdbde5e17bcb2584d3916c643bf318ab;p=librecmc%2Flibrecmc.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 b20f35976b..4ef4546d1e 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