ar71xx: ubnt-(xm,xw): add rssileds package

In order to make RSSI indicator on the device work out of box,
include "rssileds" package in per-device rootfs image by default
for Ubiquiti XM and XW devices, namely:
- Bullet M (XM/XW)
- Rocket M (XM/XW)
- Nanostation M (XM/XW)
- Nanostation Loco-M (XW)

This moves the package addition to the individual devices in order
to prevent accidental inclusions of the package when not looking
at the parent node carefully enough.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[add bullet-m-xw, remove rocket-m-ti, extend commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Lech Perczak 2019-11-17 20:58:27 +01:00 committed by Adrian Schmutzler
parent 317e98a5a2
commit 08d9c95417
1 changed files with 8 additions and 2 deletions

View File

@ -56,7 +56,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
KERNEL := kernel-bin | patch-cmdline | relocate-kernel | lzma | uImage lzma KERNEL := kernel-bin | patch-cmdline | relocate-kernel | lzma | uImage lzma
@ -64,7 +64,6 @@ endef
define Device/ubnt-xw define Device/ubnt-xw
$(Device/ubnt) $(Device/ubnt)
DEVICE_PACKAGES += rssileds
UBNT_TYPE := XW UBNT_TYPE := XW
UBNT_CHIP := ar934x UBNT_CHIP := ar934x
UBNT_VERSION := 6.0.4 UBNT_VERSION := 6.0.4
@ -94,6 +93,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
BOARDNAME := UBNT-BM BOARDNAME := UBNT-BM
endef endef
TARGET_DEVICES += ubnt-bullet-m TARGET_DEVICES += ubnt-bullet-m
@ -101,6 +101,7 @@ TARGET_DEVICES += ubnt-bullet-m
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
BOARDNAME := UBNT-RM BOARDNAME := UBNT-RM
endef endef
TARGET_DEVICES += ubnt-rocket-m TARGET_DEVICES += ubnt-rocket-m
@ -108,6 +109,7 @@ TARGET_DEVICES += ubnt-rocket-m
define Device/ubnt-nano-m define Device/ubnt-nano-m
$(Device/ubnt-xm) $(Device/ubnt-xm)
DEVICE_TITLE := Ubiquiti Nano-M DEVICE_TITLE := Ubiquiti Nano-M
DEVICE_PACKAGES += rssileds
BOARDNAME := UBNT-NM BOARDNAME := UBNT-NM
endef endef
TARGET_DEVICES += ubnt-nano-m TARGET_DEVICES += ubnt-nano-m
@ -176,6 +178,7 @@ TARGET_DEVICES += ubnt-unifi-outdoor
define Device/ubnt-nano-m-xw define Device/ubnt-nano-m-xw
$(Device/ubnt-xw) $(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Nano M XW DEVICE_TITLE := Ubiquiti Nano M XW
DEVICE_PACKAGES += rssileds
BOARDNAME := UBNT-NM-XW BOARDNAME := UBNT-NM-XW
endef endef
TARGET_DEVICES += ubnt-nano-m-xw TARGET_DEVICES += ubnt-nano-m-xw
@ -190,6 +193,7 @@ TARGET_DEVICES += ubnt-lbe-m5
define Device/ubnt-loco-m-xw define Device/ubnt-loco-m-xw
$(Device/ubnt-xw) $(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Loco XW DEVICE_TITLE := Ubiquiti Loco XW
DEVICE_PACKAGES += rssileds
BOARDNAME := UBNT-LOCO-XW BOARDNAME := UBNT-LOCO-XW
endef endef
TARGET_DEVICES += ubnt-loco-m-xw TARGET_DEVICES += ubnt-loco-m-xw
@ -197,6 +201,7 @@ TARGET_DEVICES += ubnt-loco-m-xw
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
BOARDNAME := UBNT-BM-XW BOARDNAME := UBNT-BM-XW
endef endef
TARGET_DEVICES += ubnt-bullet-m-xw TARGET_DEVICES += ubnt-bullet-m-xw
@ -204,6 +209,7 @@ TARGET_DEVICES += ubnt-bullet-m-xw
define Device/ubnt-rocket-m-xw define Device/ubnt-rocket-m-xw
$(Device/ubnt-xw) $(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Rocket M XW DEVICE_TITLE := Ubiquiti Rocket M XW
DEVICE_PACKAGES += rssileds
BOARDNAME := UBNT-RM-XW BOARDNAME := UBNT-RM-XW
endef endef
TARGET_DEVICES += ubnt-rocket-m-xw TARGET_DEVICES += ubnt-rocket-m-xw