octeon: add SUPPORTED_DEVICES to er/erlite er-erlite
authorPaul Spooren <mail@aparcar.org>
Tue, 7 Jun 2022 11:26:43 +0000 (13:26 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 7 Jun 2022 13:31:46 +0000 (15:31 +0200)
commit5f86e33ab3c7204c183e1b77be2fd641d89d065a
tree8f97ec78f1c4dcc0464a23341aa34ced03a33e60
parentfbf6992f2b8960cbca36cd652bcdc71d69931076
octeon: add SUPPORTED_DEVICES to er/erlite

Using the BOARD_NAME variable results for both er and erlite devices to
identify themselfs as `er` and `erlite` (via `ubus call system board`).

This is problematic when devices search for firmware upgrades since the
OpenWrt profile is actually called `ubnt_edgerouter` and
`ubnt_edgerouter-lite`.

By adding the `SUPPORTED_DEVICE` a mapping is created to point devices
called `er` or `erlite` to the corresponding profile.

FIXES: https://github.com/openwrt/asu/issues/348

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/linux/octeon/image/Makefile