octeon: add SUPPORTED_DEVICES to er/erlite
authorPaul Spooren <mail@aparcar.org>
Tue, 7 Jun 2022 11:26:43 +0000 (13:26 +0200)
committerPaul Spooren <mail@aparcar.org>
Fri, 29 Jul 2022 13:10:21 +0000 (15:10 +0200)
commitf94b30d83c2aa401b3ff9c4914bb2ef6386df8aa
treefe481e2f551f0cd48a1e62b82585fe58786b5ac0
parent09dae4feac941f3a6190cf361479bf8b2ba194bf
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>
(cherry picked from commit 2a07270180ed0e295d854d6e9e59c78c40549efc)
target/linux/octeon/image/Makefile