ath79: include rssileds package for ubnt devices with LEDs

Some Ubiquiti devices had the RSSI LEDs configured in 01_leds but
were missing the rssileds package, while others that don't have
RSSI LEDS had the package included.

This commit includes the rssileds package only for those devices
that need it.

Tested on a NanoStation M XW.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
(cherry picked from commit 1c6066a867)
[backported to 19.07]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
v19.07.3_mercusys_ac12_duma
Roger Pueyo Centelles 5 years ago committed by Adrian Schmutzler
parent 960de44fa9
commit fe82c71964

@ -45,7 +45,7 @@ endef
define Device/ubnt-xm define Device/ubnt-xm
$(Device/ubnt) $(Device/ubnt)
DEVICE_PACKAGES += kmod-usb-ohci rssileds DEVICE_PACKAGES += kmod-usb-ohci
UBNT_TYPE := XM UBNT_TYPE := XM
UBNT_CHIP := ar7240 UBNT_CHIP := ar7240
ATH_SOC := ar7241 ATH_SOC := ar7241
@ -88,6 +88,7 @@ TARGET_DEVICES += ubnt_airrouter
define Device/ubnt_bullet-m define Device/ubnt_bullet-m
$(Device/ubnt-xm) $(Device/ubnt-xm)
DEVICE_TITLE := Ubiquiti Bullet-M DEVICE_TITLE := Ubiquiti Bullet-M
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += bullet-m SUPPORTED_DEVICES += bullet-m
endef endef
TARGET_DEVICES += ubnt_bullet-m TARGET_DEVICES += ubnt_bullet-m
@ -95,6 +96,7 @@ TARGET_DEVICES += ubnt_bullet-m
define Device/ubnt_bullet-m-xw define Device/ubnt_bullet-m-xw
$(Device/ubnt-xw) $(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Bullet-M (XW) DEVICE_TITLE := Ubiquiti Bullet-M (XW)
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += bullet-m-xw SUPPORTED_DEVICES += bullet-m-xw
endef endef
TARGET_DEVICES += ubnt_bullet-m-xw TARGET_DEVICES += ubnt_bullet-m-xw
@ -102,6 +104,7 @@ TARGET_DEVICES += ubnt_bullet-m-xw
define Device/ubnt_rocket-m define Device/ubnt_rocket-m
$(Device/ubnt-xm) $(Device/ubnt-xm)
DEVICE_TITLE := Ubiquiti Rocket-M DEVICE_TITLE := Ubiquiti Rocket-M
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += rocket-m SUPPORTED_DEVICES += rocket-m
endef endef
TARGET_DEVICES += ubnt_rocket-m TARGET_DEVICES += ubnt_rocket-m
@ -109,6 +112,7 @@ TARGET_DEVICES += ubnt_rocket-m
define Device/ubnt_nanostation-m define Device/ubnt_nanostation-m
$(Device/ubnt-xm) $(Device/ubnt-xm)
DEVICE_TITLE := Ubiquiti Nanostation M DEVICE_TITLE := Ubiquiti Nanostation M
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += nanostation-m SUPPORTED_DEVICES += nanostation-m
endef endef
TARGET_DEVICES += ubnt_nanostation-m TARGET_DEVICES += ubnt_nanostation-m
@ -116,6 +120,7 @@ TARGET_DEVICES += ubnt_nanostation-m
define Device/ubnt_nanostation-m-xw define Device/ubnt_nanostation-m-xw
$(Device/ubnt-xw) $(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Nanostation M (XW) DEVICE_TITLE := Ubiquiti Nanostation M (XW)
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += nanostation-m-xw SUPPORTED_DEVICES += nanostation-m-xw
endef endef
TARGET_DEVICES += ubnt_nanostation-m-xw TARGET_DEVICES += ubnt_nanostation-m-xw
@ -132,7 +137,7 @@ TARGET_DEVICES += ubnt_lap-120
define Device/ubnt_nanobeam-ac define Device/ubnt_nanobeam-ac
$(Device/ubnt-wa) $(Device/ubnt-wa)
DEVICE_TITLE := Ubiquiti NanoBeam AC DEVICE_TITLE := Ubiquiti NanoBeam AC
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct rssileds
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split
endef endef
@ -141,7 +146,7 @@ TARGET_DEVICES += ubnt_nanobeam-ac
define Device/ubnt_nanostation-ac define Device/ubnt_nanostation-ac
$(Device/ubnt-wa) $(Device/ubnt-wa)
DEVICE_TITLE := Ubiquiti Nanostation AC DEVICE_TITLE := Ubiquiti Nanostation AC
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct rssileds
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split
endef endef

Loading…
Cancel
Save