aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7620.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-01 12:27:46 +0200
committerMathias Kresin <dev@kresin.me>2017-04-21 07:47:59 +0200
commit9e468f7829eb6bfeff2a3671b04e53003a709313 (patch)
treece031e1dcadae813cac2e106a6eb0c8698ffa680 /target/linux/ramips/image/mt7620.mk
parentc6fe325587b1955f84c339a2ae17da28dc4e6bec (diff)
downloadupstream-9e468f7829eb6bfeff2a3671b04e53003a709313.tar.gz
upstream-9e468f7829eb6bfeff2a3671b04e53003a709313.tar.bz2
upstream-9e468f7829eb6bfeff2a3671b04e53003a709313.zip
ramips: add former used board names to metadata
We need to keep the former used (unmodified) boardname in the metadata. Otherwise an upgrade from an board using the old boardname will be refused. Fixes: a75ce960ac1b ("ramips: use different board names for variants") Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/mt7620.mk')
-rw-r--r--target/linux/ramips/image/mt7620.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index fcecb7a1c8..dd88d5043e 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -418,6 +418,7 @@ define Device/wt3020-4M
BLOCKSIZE := 4k
IMAGE_SIZE := $(ralink_default_fw_size_4M)
IMAGES += factory.bin
+ SUPPORTED_DEVICES += wt3020
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
poray-header -B WT3020 -F 4M
DEVICE_TITLE := Nexx WT3020 (4MB)
@@ -427,6 +428,7 @@ TARGET_DEVICES += wt3020-4M
define Device/wt3020-8M
DTS := WT3020-8M
IMAGES += factory.bin
+ SUPPORTED_DEVICES += wt3020
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
poray-header -B WT3020 -F 8M
DEVICE_TITLE := Nexx WT3020 (8MB)