mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 07:34:14 +00:00
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)
This commit is contained in:
parent
e0d3dc5de1
commit
a409bd7705
@ -48,6 +48,7 @@ define Device/ubnt_edgerouter
|
|||||||
DEVICE_MODEL := EdgeRouter
|
DEVICE_MODEL := EdgeRouter
|
||||||
BOARD_NAME := er
|
BOARD_NAME := er
|
||||||
CMDLINE := $(ER_CMDLINE)
|
CMDLINE := $(ER_CMDLINE)
|
||||||
|
SUPPORTED_DEVICES += er
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ubnt_edgerouter
|
TARGET_DEVICES += ubnt_edgerouter
|
||||||
|
|
||||||
@ -79,6 +80,7 @@ define Device/ubnt_edgerouter-lite
|
|||||||
DEVICE_MODEL := EdgeRouter Lite
|
DEVICE_MODEL := EdgeRouter Lite
|
||||||
BOARD_NAME := erlite
|
BOARD_NAME := erlite
|
||||||
CMDLINE := $(ERLITE_CMDLINE)
|
CMDLINE := $(ERLITE_CMDLINE)
|
||||||
|
SUPPORTED_DEVICES += erlite
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ubnt_edgerouter-lite
|
TARGET_DEVICES += ubnt_edgerouter-lite
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user