ramips: fix Mercury MAC1200R v2.0 board name

With d2b6bf1416 ("ramips: fix image validation errors") the board
name was changed to fix an image validation error. But this change
wasn't applied to all other files using the board name, which broke
sysupgrade.

Revert this change and use the former board name in the metadata
instead.

Signed-off-by: Mathias Kresin <dev@kresin.me>
lede-17.01
Mathias Kresin 2017-07-28 19:22:55 +02:00
parent 5e87b01275
commit 5e409f0e69
2 changed files with 2 additions and 1 deletions

View File

@ -272,7 +272,7 @@ ramips_board_detect() {
name="m2m" name="m2m"
;; ;;
*"Mercury MAC1200R v2") *"Mercury MAC1200R v2")
name="mac1200r-v2" name="mac1200rv2"
;; ;;
*"MicroWRT") *"MicroWRT")
name="microwrt" name="microwrt"

View File

@ -53,5 +53,6 @@ TARGET_DEVICES += duzun-dm06
define Device/mac1200r-v2 define Device/mac1200r-v2
DTS := MAC1200RV2 DTS := MAC1200RV2
DEVICE_TITLE := Mercury MAC1200R v2.0 DEVICE_TITLE := Mercury MAC1200R v2.0
SUPPORTED_DEVICES := mac1200rv2
endef endef
TARGET_DEVICES += mac1200r-v2 TARGET_DEVICES += mac1200r-v2